From 7127ec8961e41671c63911c76df5696adf8712bf Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Tue, 24 Sep 2024 11:15:03 +0200 Subject: [PATCH] refactor: openshift-model-monitoring generated from OpenAPI schemas Signed-off-by: Marc Nuri --- Makefile | 1 + kubernetes-model-generator/generateModel.sh | 1 - .../kubernetes-model-core/pom.xml | 12 +- .../schema/generator/schema/SchemaUtils.java | 24 +- .../openshift-model-monitoring/Makefile | 27 - .../cmd/generate/generate.go | 112 ---- .../openshift-model-monitoring/pom.xml | 43 +- .../kubernetes/api/model/KubeSchema.java | 360 ------------ .../api/model/ValidationSchema.java | 360 ------------ .../api/model/monitoring/v1/Alertmanager.java | 11 +- .../model/monitoring/v1/AlertmanagerSpec.java | 158 +++--- .../v1/AlertmanagerSpecACGHCACredentials.java | 136 +++++ .../AlertmanagerSpecACGHCAuthorization.java | 122 +++++ .../v1/AlertmanagerSpecACGHCBasicAuth.java | 122 +++++ ...lertmanagerSpecACGHCBasicAuthPassword.java | 136 +++++ ...lertmanagerSpecACGHCBasicAuthUsername.java | 136 +++++ ...lertmanagerSpecACGHCBearerTokenSecret.java | 136 +++++ .../v1/AlertmanagerSpecACGHCOCIConfigMap.java | 136 +++++ .../v1/AlertmanagerSpecACGHCOCISecret.java | 136 +++++ .../v1/AlertmanagerSpecACGHCOClientId.java | 122 +++++ .../AlertmanagerSpecACGHCOClientSecret.java | 136 +++++ .../v1/AlertmanagerSpecACGHCOauth2.java | 170 ++++++ .../v1/AlertmanagerSpecACGHCTCCConfigMap.java | 136 +++++ .../AlertmanagerSpecACGHCTCCConfigMap_1.java | 136 +++++ .../v1/AlertmanagerSpecACGHCTCCSecret.java | 136 +++++ .../v1/AlertmanagerSpecACGHCTCCSecret_1.java | 136 +++++ .../v1/AlertmanagerSpecACGHCTCCa.java | 122 +++++ .../v1/AlertmanagerSpecACGHCTCCert.java | 122 +++++ .../v1/AlertmanagerSpecACGHCTCKeySecret.java | 136 +++++ ...va => AlertmanagerSpecACGHCTlsConfig.java} | 31 +- ...ava => AlertmanagerSpecACGHttpConfig.java} | 43 +- .../v1/AlertmanagerSpecACGOpsGenieApiKey.java | 136 +++++ .../v1/AlertmanagerSpecACGOpsGenieApiUrl.java | 136 +++++ .../v1/AlertmanagerSpecACGSAuthPassword.java | 136 +++++ .../v1/AlertmanagerSpecACGSAuthSecret.java | 136 +++++ ...ava => AlertmanagerSpecACGSSmartHost.java} | 12 +- .../v1/AlertmanagerSpecACGSlackApiUrl.java | 136 +++++ ...nfig.java => AlertmanagerSpecACGSmtp.java} | 31 +- ...fig.java => AlertmanagerSpecACGlobal.java} | 43 +- .../v1/AlertmanagerSpecACTConfigMap.java | 136 +++++ .../v1/AlertmanagerSpecACTSecret.java | 136 +++++ .../v1/AlertmanagerSpecACTemplates.java | 122 +++++ ...managerSpecANAPDSIDEPMatchExpressions.java | 140 +++++ ...AlertmanagerSpecANAPDSIDEPMatchFields.java | 140 +++++ .../AlertmanagerSpecANAPDSIDEPreference.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...nagerSpecANARDSIDENSTMatchExpressions.java | 140 +++++ ...ertmanagerSpecANARDSIDENSTMatchFields.java | 140 +++++ ...managerSpecANARDSIDENodeSelectorTerms.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 112 ++++ .../v1/AlertmanagerSpecANodeAffinity.java | 126 +++++ ...managerSpecAPAAPDSIDEPATLabelSelector.java | 129 +++++ ...gerSpecAPAAPDSIDEPATNamespaceSelector.java | 129 +++++ ...tmanagerSpecAPAAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...ertmanagerSpecAPAARDSIDELabelSelector.java | 129 +++++ ...anagerSpecAPAARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ ...tmanagerSpecAPAPDSIDEPATLabelSelector.java | 129 +++++ ...agerSpecAPAPDSIDEPATNamespaceSelector.java | 129 +++++ ...rtmanagerSpecAPAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...lertmanagerSpecAPARDSIDELabelSelector.java | 129 +++++ ...managerSpecAPARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ .../v1/AlertmanagerSpecAPodAffinity.java | 128 +++++ .../v1/AlertmanagerSpecAPodAntiAffinity.java | 128 +++++ .../v1/AlertmanagerSpecAffinity.java | 136 +++++ ...pecAlertmanagerConfigMatcherStrategy.java} | 12 +- ...ecAlertmanagerConfigNamespaceSelector.java | 129 +++++ ...managerSpecAlertmanagerConfigSelector.java | 129 +++++ ...managerSpecAlertmanagerConfiguration.java} | 24 +- .../v1/AlertmanagerSpecCEFConfigMapRef.java | 122 +++++ .../v1/AlertmanagerSpecCEFSecretRef.java | 122 +++++ .../AlertmanagerSpecCEVFConfigMapKeyRef.java | 136 +++++ .../v1/AlertmanagerSpecCEVFFieldRef.java | 122 +++++ .../AlertmanagerSpecCEVFResourceFieldRef.java | 138 +++++ .../v1/AlertmanagerSpecCEVFSecretKeyRef.java | 136 +++++ .../v1/AlertmanagerSpecCEValueFrom.java | 150 +++++ .../monitoring/v1/AlertmanagerSpecCEnv.java | 136 +++++ .../v1/AlertmanagerSpecCEnvFrom.java | 136 +++++ .../v1/AlertmanagerSpecCLPExec.java | 112 ++++ .../v1/AlertmanagerSpecCLPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecCLPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecCLPSExec.java | 112 ++++ .../v1/AlertmanagerSpecCLPSExec_1.java | 112 ++++ .../v1/AlertmanagerSpecCLPSHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecCLPSHttpGet_1.java | 171 ++++++ .../v1/AlertmanagerSpecCLPSSleep.java | 108 ++++ .../v1/AlertmanagerSpecCLPSSleep_1.java | 108 ++++ .../v1/AlertmanagerSpecCLPSTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecCLPSTcpSocket_1.java | 124 +++++ .../v1/AlertmanagerSpecCLPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecCLPostStart.java | 150 +++++ .../v1/AlertmanagerSpecCLPreStop.java | 150 +++++ .../v1/AlertmanagerSpecCLifecycle.java | 122 +++++ .../v1/AlertmanagerSpecCLivenessProbe.java | 234 ++++++++ .../monitoring/v1/AlertmanagerSpecCPorts.java | 164 ++++++ .../v1/AlertmanagerSpecCRPExec.java | 112 ++++ .../v1/AlertmanagerSpecCRPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecCRPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecCRPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecCReadinessProbe.java | 234 ++++++++ .../v1/AlertmanagerSpecCResources.java | 149 +++++ .../v1/AlertmanagerSpecCSCCapabilities.java | 128 +++++ .../v1/AlertmanagerSpecCSCSeLinuxOptions.java | 150 +++++ .../v1/AlertmanagerSpecCSCSeccompProfile.java | 122 +++++ .../v1/AlertmanagerSpecCSCWindowsOptions.java | 150 +++++ .../v1/AlertmanagerSpecCSPExec.java | 112 ++++ .../v1/AlertmanagerSpecCSPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecCSPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecCSPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecCSecurityContext.java | 248 +++++++++ .../v1/AlertmanagerSpecCStartupProbe.java | 234 ++++++++ .../v1/AlertmanagerSpecCVolumeMounts.java | 178 ++++++ .../v1/AlertmanagerSpecContainers.java | 450 +++++++++++++++ .../v1/AlertmanagerSpecHostAliases.java | 126 +++++ .../v1/AlertmanagerSpecICEFConfigMapRef.java | 122 +++++ .../v1/AlertmanagerSpecICEFSecretRef.java | 122 +++++ .../AlertmanagerSpecICEVFConfigMapKeyRef.java | 136 +++++ .../v1/AlertmanagerSpecICEVFFieldRef.java | 122 +++++ ...AlertmanagerSpecICEVFResourceFieldRef.java | 138 +++++ .../v1/AlertmanagerSpecICEVFSecretKeyRef.java | 136 +++++ .../v1/AlertmanagerSpecICEValueFrom.java | 150 +++++ .../monitoring/v1/AlertmanagerSpecICEnv.java | 136 +++++ .../v1/AlertmanagerSpecICEnvFrom.java | 136 +++++ .../v1/AlertmanagerSpecICLPExec.java | 112 ++++ .../v1/AlertmanagerSpecICLPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecICLPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecICLPSExec.java | 112 ++++ .../v1/AlertmanagerSpecICLPSExec_1.java | 112 ++++ .../v1/AlertmanagerSpecICLPSHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecICLPSHttpGet_1.java | 171 ++++++ .../v1/AlertmanagerSpecICLPSSleep.java | 108 ++++ .../v1/AlertmanagerSpecICLPSSleep_1.java | 108 ++++ .../v1/AlertmanagerSpecICLPSTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecICLPSTcpSocket_1.java | 124 +++++ .../v1/AlertmanagerSpecICLPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecICLPostStart.java | 150 +++++ .../v1/AlertmanagerSpecICLPreStop.java | 150 +++++ .../v1/AlertmanagerSpecICLifecycle.java | 122 +++++ .../v1/AlertmanagerSpecICLivenessProbe.java | 234 ++++++++ .../v1/AlertmanagerSpecICPorts.java | 164 ++++++ .../v1/AlertmanagerSpecICRPExec.java | 112 ++++ .../v1/AlertmanagerSpecICRPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecICRPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecICRPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecICReadinessProbe.java | 234 ++++++++ .../v1/AlertmanagerSpecICResources.java | 149 +++++ .../v1/AlertmanagerSpecICSCCapabilities.java | 128 +++++ .../AlertmanagerSpecICSCSeLinuxOptions.java | 150 +++++ .../AlertmanagerSpecICSCSeccompProfile.java | 122 +++++ .../AlertmanagerSpecICSCWindowsOptions.java | 150 +++++ .../v1/AlertmanagerSpecICSPExec.java | 112 ++++ .../v1/AlertmanagerSpecICSPGrpc.java | 122 +++++ .../v1/AlertmanagerSpecICSPHttpGet.java | 171 ++++++ .../v1/AlertmanagerSpecICSPTcpSocket.java | 124 +++++ .../v1/AlertmanagerSpecICSecurityContext.java | 248 +++++++++ .../v1/AlertmanagerSpecICStartupProbe.java | 234 ++++++++ .../v1/AlertmanagerSpecICVolumeMounts.java | 178 ++++++ .../v1/AlertmanagerSpecImagePullSecrets.java | 108 ++++ .../v1/AlertmanagerSpecInitContainers.java | 450 +++++++++++++++ .../v1/AlertmanagerSpecPodMetadata.java | 140 +++++ .../v1/AlertmanagerSpecResources.java | 149 +++++ .../v1/AlertmanagerSpecSCSeLinuxOptions.java | 150 +++++ .../v1/AlertmanagerSpecSCSeccompProfile.java | 122 +++++ .../v1/AlertmanagerSpecSCWindowsOptions.java | 150 +++++ .../v1/AlertmanagerSpecSEVCTSpec.java | 224 ++++++++ .../AlertmanagerSpecSEVCTSpecDataSource.java | 136 +++++ ...lertmanagerSpecSEVCTSpecDataSourceRef.java | 150 +++++ .../AlertmanagerSpecSEVCTSpecResources.java | 130 +++++ .../v1/AlertmanagerSpecSEVCTSpecSelector.java | 129 +++++ ...AlertmanagerSpecSEVolumeClaimTemplate.java | 124 +++++ .../v1/AlertmanagerSpecSEmptyDir.java | 124 +++++ .../v1/AlertmanagerSpecSEphemeral.java | 108 ++++ .../v1/AlertmanagerSpecSVCTMetadata.java | 140 +++++ .../v1/AlertmanagerSpecSVCTSpec.java | 224 ++++++++ .../AlertmanagerSpecSVCTSpecDataSource.java | 136 +++++ ...AlertmanagerSpecSVCTSpecDataSourceRef.java | 150 +++++ .../v1/AlertmanagerSpecSVCTSpecResources.java | 130 +++++ .../v1/AlertmanagerSpecSVCTSpecSelector.java | 129 +++++ .../v1/AlertmanagerSpecSVCTStatus.java | 222 ++++++++ .../AlertmanagerSpecSVCTStatusConditions.java | 178 ++++++ ...nagerSpecSVCTStatusModifyVolumeStatus.java | 122 +++++ ...AlertmanagerSpecSVolumeClaimTemplate.java} | 75 +-- .../v1/AlertmanagerSpecSecurityContext.java | 241 ++++++++ .../v1/AlertmanagerSpecStorage.java | 150 +++++ .../v1/AlertmanagerSpecTSCLabelSelector.java | 129 +++++ .../v1/AlertmanagerSpecTolerations.java | 164 ++++++ ...tmanagerSpecTopologySpreadConstraints.java | 210 +++++++ ...AlertmanagerSpecVAwsElasticBlockStore.java | 150 +++++ .../v1/AlertmanagerSpecVAzureDisk.java | 178 ++++++ .../v1/AlertmanagerSpecVAzureFile.java | 136 +++++ ...lertmanagerSpecVCNodePublishSecretRef.java | 108 ++++ .../v1/AlertmanagerSpecVCSecretRef.java | 108 ++++ .../v1/AlertmanagerSpecVCSecretRef_1.java | 108 ++++ .../v1/AlertmanagerSpecVCephfs.java | 182 +++++++ .../v1/AlertmanagerSpecVCinder.java | 150 +++++ .../v1/AlertmanagerSpecVConfigMap.java | 155 ++++++ .../monitoring/v1/AlertmanagerSpecVCsi.java | 166 ++++++ .../v1/AlertmanagerSpecVDAIFieldRef.java | 122 +++++ .../AlertmanagerSpecVDAIResourceFieldRef.java | 138 +++++ .../v1/AlertmanagerSpecVDAItems.java | 150 +++++ .../v1/AlertmanagerSpecVDownwardAPI.java | 126 +++++ .../v1/AlertmanagerSpecVEVCTSpec.java | 224 ++++++++ .../AlertmanagerSpecVEVCTSpecDataSource.java | 136 +++++ ...lertmanagerSpecVEVCTSpecDataSourceRef.java | 150 +++++ .../AlertmanagerSpecVEVCTSpecResources.java | 130 +++++ .../v1/AlertmanagerSpecVEVCTSpecSelector.java | 129 +++++ ...AlertmanagerSpecVEVolumeClaimTemplate.java | 124 +++++ .../v1/AlertmanagerSpecVEmptyDir.java | 124 +++++ .../v1/AlertmanagerSpecVEphemeral.java | 108 ++++ .../v1/AlertmanagerSpecVFVSecretRef.java | 108 ++++ .../monitoring/v1/AlertmanagerSpecVFc.java | 170 ++++++ .../v1/AlertmanagerSpecVFlexVolume.java | 166 ++++++ .../v1/AlertmanagerSpecVFlocker.java | 122 +++++ .../AlertmanagerSpecVGcePersistentDisk.java | 150 +++++ .../v1/AlertmanagerSpecVGitRepo.java | 136 +++++ .../v1/AlertmanagerSpecVGlusterfs.java | 136 +++++ .../v1/AlertmanagerSpecVHostPath.java | 122 +++++ .../v1/AlertmanagerSpecVISecretRef.java | 108 ++++ .../monitoring/v1/AlertmanagerSpecVIscsi.java | 252 +++++++++ .../monitoring/v1/AlertmanagerSpecVNfs.java | 136 +++++ .../AlertmanagerSpecVPSCTBLabelSelector.java | 129 +++++ ...AlertmanagerSpecVPSClusterTrustBundle.java | 164 ++++++ .../v1/AlertmanagerSpecVPSConfigMap.java | 141 +++++ .../v1/AlertmanagerSpecVPSDAIFieldRef.java | 122 +++++ ...lertmanagerSpecVPSDAIResourceFieldRef.java | 138 +++++ .../v1/AlertmanagerSpecVPSDAItems.java | 150 +++++ .../v1/AlertmanagerSpecVPSDownwardAPI.java | 112 ++++ .../v1/AlertmanagerSpecVPSSecret.java | 141 +++++ ...lertmanagerSpecVPSServiceAccountToken.java | 136 +++++ .../v1/AlertmanagerSpecVPSources.java | 164 ++++++ ...lertmanagerSpecVPersistentVolumeClaim.java | 122 +++++ ...AlertmanagerSpecVPhotonPersistentDisk.java | 122 +++++ .../v1/AlertmanagerSpecVPortworxVolume.java | 136 +++++ .../v1/AlertmanagerSpecVProjected.java | 126 +++++ .../v1/AlertmanagerSpecVQuobyte.java | 178 ++++++ .../v1/AlertmanagerSpecVRSecretRef.java | 108 ++++ .../monitoring/v1/AlertmanagerSpecVRbd.java | 210 +++++++ .../v1/AlertmanagerSpecVSISecretRef.java | 108 ++++ .../v1/AlertmanagerSpecVSSecretRef.java | 108 ++++ .../v1/AlertmanagerSpecVScaleIO.java | 234 ++++++++ .../v1/AlertmanagerSpecVSecret.java | 155 ++++++ .../v1/AlertmanagerSpecVStorageos.java | 164 ++++++ .../v1/AlertmanagerSpecVVsphereVolume.java | 150 +++++ .../v1/AlertmanagerSpecVolumeMounts.java | 178 ++++++ .../v1/AlertmanagerSpecVolumes.java | 514 ++++++++++++++++++ .../v1/AlertmanagerSpecWHCHeaders.java | 164 ++++++ .../v1/AlertmanagerSpecWHttpConfig.java | 122 +++++ .../v1/AlertmanagerSpecWTCCConfigMap.java | 136 +++++ .../v1/AlertmanagerSpecWTCCConfigMap_1.java | 136 +++++ .../v1/AlertmanagerSpecWTCCSecret.java | 136 +++++ .../v1/AlertmanagerSpecWTCCSecret_1.java | 136 +++++ ...gMap.java => AlertmanagerSpecWTCCert.java} | 26 +- .../v1/AlertmanagerSpecWTCClient_ca.java | 122 +++++ .../v1/AlertmanagerSpecWTCKeySecret.java | 136 +++++ .../v1/AlertmanagerSpecWTlsConfig.java | 226 ++++++++ ...rWebSpec.java => AlertmanagerSpecWeb.java} | 24 +- .../monitoring/v1/AlertmanagerStatus.java | 8 +- .../v1/AlertmanagerStatusConditions.java | 178 ++++++ .../api/model/monitoring/v1/PodMonitor.java | 11 +- .../model/monitoring/v1/PodMonitorSpec.java | 73 ++- ...java => PodMonitorSpecAttachMetadata.java} | 12 +- .../v1/PodMonitorSpecNamespaceSelector.java | 126 +++++ .../v1/PodMonitorSpecPMEACredentials.java | 136 +++++ .../v1/PodMonitorSpecPMEAuthorization.java | 122 +++++ .../v1/PodMonitorSpecPMEBasicAuth.java | 122 +++++ .../PodMonitorSpecPMEBasicAuthPassword.java | 136 +++++ .../PodMonitorSpecPMEBasicAuthUsername.java | 136 +++++ .../PodMonitorSpecPMEBearerTokenSecret.java | 136 +++++ .../PodMonitorSpecPMEMetricRelabelings.java | 196 +++++++ .../v1/PodMonitorSpecPMEOCIConfigMap.java | 136 +++++ .../v1/PodMonitorSpecPMEOCISecret.java | 136 +++++ .../v1/PodMonitorSpecPMEOClientId.java | 122 +++++ .../v1/PodMonitorSpecPMEOClientSecret.java | 136 +++++ .../v1/PodMonitorSpecPMEOauth2.java | 170 ++++++ .../v1/PodMonitorSpecPMERelabelings.java | 196 +++++++ .../v1/PodMonitorSpecPMETCCConfigMap.java | 136 +++++ .../v1/PodMonitorSpecPMETCCConfigMap_1.java | 136 +++++ .../v1/PodMonitorSpecPMETCCSecret.java | 136 +++++ .../v1/PodMonitorSpecPMETCCSecret_1.java | 136 +++++ .../monitoring/v1/PodMonitorSpecPMETCCa.java | 122 +++++ .../v1/PodMonitorSpecPMETCCert.java | 122 +++++ .../v1/PodMonitorSpecPMETCKeySecret.java | 136 +++++ ...g.java => PodMonitorSpecPMETlsConfig.java} | 31 +- ...=> PodMonitorSpecPodMetricsEndpoints.java} | 82 +-- .../monitoring/v1/PodMonitorSpecSelector.java | 129 +++++ .../api/model/monitoring/v1/Probe.java | 11 +- .../api/model/monitoring/v1/ProbeSpec.java | 81 ++- .../monitoring/v1/ProbeSpecACredentials.java | 136 +++++ ...ation.java => ProbeSpecAuthorization.java} | 19 +- ...BasicAuth.java => ProbeSpecBasicAuth.java} | 25 +- .../v1/ProbeSpecBasicAuthPassword.java | 136 +++++ .../v1/ProbeSpecBasicAuthUsername.java | 136 +++++ .../v1/ProbeSpecBearerTokenSecret.java | 136 +++++ ...g.java => ProbeSpecMetricRelabelings.java} | 12 +- .../monitoring/v1/ProbeSpecOCIConfigMap.java | 136 +++++ .../monitoring/v1/ProbeSpecOCISecret.java | 136 +++++ .../monitoring/v1/ProbeSpecOClientId.java | 122 +++++ .../monitoring/v1/ProbeSpecOClientSecret.java | 136 +++++ .../v1/{OAuth2.java => ProbeSpecOauth2.java} | 25 +- .../{ProberSpec.java => ProbeSpecProber.java} | 12 +- .../monitoring/v1/ProbeSpecTCCConfigMap.java | 136 +++++ .../v1/ProbeSpecTCCConfigMap_1.java | 136 +++++ .../monitoring/v1/ProbeSpecTCCSecret.java | 136 +++++ .../monitoring/v1/ProbeSpecTCCSecret_1.java | 136 +++++ .../model/monitoring/v1/ProbeSpecTCCa.java | 122 +++++ .../model/monitoring/v1/ProbeSpecTCCert.java | 122 +++++ .../monitoring/v1/ProbeSpecTCKeySecret.java | 136 +++++ ...java => ProbeSpecTINamespaceSelector.java} | 12 +- .../v1/ProbeSpecTIRelabelingConfigs.java | 196 +++++++ .../monitoring/v1/ProbeSpecTISelector.java | 129 +++++ ...getIngress.java => ProbeSpecTIngress.java} | 33 +- .../v1/ProbeSpecTSCRelabelingConfigs.java | 196 +++++++ ...onfig.java => ProbeSpecTStaticConfig.java} | 18 +- ...robeTargets.java => ProbeSpecTargets.java} | 24 +- ...TLSConfig.java => ProbeSpecTlsConfig.java} | 31 +- .../api/model/monitoring/v1/Prometheus.java | 11 +- .../model/monitoring/v1/PrometheusRule.java | 11 +- .../monitoring/v1/PrometheusRuleSpec.java | 8 +- ...ule.java => PrometheusRuleSpecGRules.java} | 35 +- ...oup.java => PrometheusRuleSpecGroups.java} | 30 +- .../model/monitoring/v1/PrometheusSpec.java | 344 +++++++----- .../v1/PrometheusSpecAAACredentials.java | 136 +++++ .../v1/PrometheusSpecAAAuthorization.java | 122 +++++ .../v1/PrometheusSpecAABasicAuth.java | 122 +++++ .../v1/PrometheusSpecAABasicAuthPassword.java | 136 +++++ .../v1/PrometheusSpecAABasicAuthUsername.java | 136 +++++ .../v1/PrometheusSpecAASAccessKey.java | 136 +++++ .../v1/PrometheusSpecAASSecretKey.java | 136 +++++ ...{Sigv4.java => PrometheusSpecAASigv4.java} | 25 +- .../v1/PrometheusSpecAATCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecAATCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecAATCCSecret.java | 136 +++++ .../v1/PrometheusSpecAATCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecAATCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecAATCCert.java | 122 +++++ .../v1/PrometheusSpecAATCKeySecret.java | 136 +++++ ...ig.java => PrometheusSpecAATlsConfig.java} | 31 +- ...java => PrometheusSpecAAlertmanagers.java} | 55 +- .../v1/PrometheusSpecACACredentials.java | 136 +++++ ...ava => PrometheusSpecACAuthorization.java} | 19 +- .../v1/PrometheusSpecACBasicAuth.java | 122 +++++ .../v1/PrometheusSpecACBasicAuthPassword.java | 136 +++++ .../v1/PrometheusSpecACBasicAuthUsername.java | 136 +++++ .../v1/PrometheusSpecACTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecACTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecACTCCSecret.java | 136 +++++ .../v1/PrometheusSpecACTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecACTCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecACTCCert.java | 122 +++++ .../v1/PrometheusSpecACTCKeySecret.java | 136 +++++ .../v1/PrometheusSpecACTlsConfig.java | 206 +++++++ ...metheusSpecANAPDSIDEPMatchExpressions.java | 140 +++++ .../PrometheusSpecANAPDSIDEPMatchFields.java | 140 +++++ .../v1/PrometheusSpecANAPDSIDEPreference.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...theusSpecANARDSIDENSTMatchExpressions.java | 140 +++++ ...PrometheusSpecANARDSIDENSTMatchFields.java | 140 +++++ ...metheusSpecANARDSIDENodeSelectorTerms.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 112 ++++ .../v1/PrometheusSpecANodeAffinity.java | 126 +++++ ...metheusSpecAPAAPDSIDEPATLabelSelector.java | 129 +++++ ...eusSpecAPAAPDSIDEPATNamespaceSelector.java | 129 +++++ ...ometheusSpecAPAAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...PrometheusSpecAPAARDSIDELabelSelector.java | 129 +++++ ...etheusSpecAPAARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ ...ometheusSpecAPAPDSIDEPATLabelSelector.java | 129 +++++ ...heusSpecAPAPDSIDEPATNamespaceSelector.java | 129 +++++ ...rometheusSpecAPAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ .../PrometheusSpecAPARDSIDELabelSelector.java | 129 +++++ ...metheusSpecAPARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ .../v1/PrometheusSpecAPodAffinity.java | 128 +++++ .../v1/PrometheusSpecAPodAntiAffinity.java | 128 +++++ ...heusSpecAdditionalAlertManagerConfigs.java | 136 +++++ ...heusSpecAdditionalAlertRelabelConfigs.java | 136 +++++ ...java => PrometheusSpecAdditionalArgs.java} | 12 +- ...PrometheusSpecAdditionalScrapeConfigs.java | 136 +++++ .../monitoring/v1/PrometheusSpecAffinity.java | 136 +++++ ...gSpec.java => PrometheusSpecAlerting.java} | 18 +- ...ava => PrometheusSpecApiserverConfig.java} | 30 +- ...theusSpecArbitraryFSAccessThroughSMs.java} | 12 +- .../v1/PrometheusSpecCEFConfigMapRef.java | 122 +++++ .../v1/PrometheusSpecCEFSecretRef.java | 122 +++++ .../v1/PrometheusSpecCEVFConfigMapKeyRef.java | 136 +++++ .../v1/PrometheusSpecCEVFFieldRef.java | 122 +++++ .../PrometheusSpecCEVFResourceFieldRef.java | 138 +++++ .../v1/PrometheusSpecCEVFSecretKeyRef.java | 136 +++++ .../v1/PrometheusSpecCEValueFrom.java | 150 +++++ .../monitoring/v1/PrometheusSpecCEnv.java | 136 +++++ .../monitoring/v1/PrometheusSpecCEnvFrom.java | 136 +++++ .../monitoring/v1/PrometheusSpecCLPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecCLPGrpc.java | 122 +++++ .../v1/PrometheusSpecCLPHttpGet.java | 171 ++++++ .../monitoring/v1/PrometheusSpecCLPSExec.java | 112 ++++ .../v1/PrometheusSpecCLPSExec_1.java | 112 ++++ .../v1/PrometheusSpecCLPSHttpGet.java | 171 ++++++ .../v1/PrometheusSpecCLPSHttpGet_1.java | 171 ++++++ .../v1/PrometheusSpecCLPSSleep.java | 108 ++++ .../v1/PrometheusSpecCLPSSleep_1.java | 108 ++++ .../v1/PrometheusSpecCLPSTcpSocket.java | 124 +++++ .../v1/PrometheusSpecCLPSTcpSocket_1.java | 124 +++++ .../v1/PrometheusSpecCLPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecCLPostStart.java | 150 +++++ .../v1/PrometheusSpecCLPreStop.java | 150 +++++ .../v1/PrometheusSpecCLifecycle.java | 122 +++++ .../v1/PrometheusSpecCLivenessProbe.java | 234 ++++++++ .../monitoring/v1/PrometheusSpecCPorts.java | 164 ++++++ .../monitoring/v1/PrometheusSpecCRPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecCRPGrpc.java | 122 +++++ .../v1/PrometheusSpecCRPHttpGet.java | 171 ++++++ .../v1/PrometheusSpecCRPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecCReadinessProbe.java | 234 ++++++++ .../v1/PrometheusSpecCResources.java | 149 +++++ .../v1/PrometheusSpecCSCCapabilities.java | 128 +++++ .../v1/PrometheusSpecCSCSeLinuxOptions.java | 150 +++++ .../v1/PrometheusSpecCSCSeccompProfile.java | 122 +++++ .../v1/PrometheusSpecCSCWindowsOptions.java | 150 +++++ .../monitoring/v1/PrometheusSpecCSPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecCSPGrpc.java | 122 +++++ .../v1/PrometheusSpecCSPHttpGet.java | 171 ++++++ .../v1/PrometheusSpecCSPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecCSecurityContext.java | 248 +++++++++ .../v1/PrometheusSpecCStartupProbe.java | 234 ++++++++ .../v1/PrometheusSpecCVolumeMounts.java | 178 ++++++ .../v1/PrometheusSpecContainers.java | 450 +++++++++++++++ ...rometheusSpecExcludedFromEnforcement.java} | 15 +- ...lars.java => PrometheusSpecExemplars.java} | 12 +- ...as.java => PrometheusSpecHostAliases.java} | 12 +- .../v1/PrometheusSpecICEFConfigMapRef.java | 122 +++++ .../v1/PrometheusSpecICEFSecretRef.java | 122 +++++ .../PrometheusSpecICEVFConfigMapKeyRef.java | 136 +++++ .../v1/PrometheusSpecICEVFFieldRef.java | 122 +++++ .../PrometheusSpecICEVFResourceFieldRef.java | 138 +++++ .../v1/PrometheusSpecICEVFSecretKeyRef.java | 136 +++++ .../v1/PrometheusSpecICEValueFrom.java | 150 +++++ .../monitoring/v1/PrometheusSpecICEnv.java | 136 +++++ .../v1/PrometheusSpecICEnvFrom.java | 136 +++++ .../monitoring/v1/PrometheusSpecICLPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecICLPGrpc.java | 122 +++++ .../v1/PrometheusSpecICLPHttpGet.java | 171 ++++++ .../v1/PrometheusSpecICLPSExec.java | 112 ++++ .../v1/PrometheusSpecICLPSExec_1.java | 112 ++++ .../v1/PrometheusSpecICLPSHttpGet.java | 171 ++++++ .../v1/PrometheusSpecICLPSHttpGet_1.java | 171 ++++++ .../v1/PrometheusSpecICLPSSleep.java | 108 ++++ .../v1/PrometheusSpecICLPSSleep_1.java | 108 ++++ .../v1/PrometheusSpecICLPSTcpSocket.java | 124 +++++ .../v1/PrometheusSpecICLPSTcpSocket_1.java | 124 +++++ .../v1/PrometheusSpecICLPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecICLPostStart.java | 150 +++++ .../v1/PrometheusSpecICLPreStop.java | 150 +++++ .../v1/PrometheusSpecICLifecycle.java | 122 +++++ .../v1/PrometheusSpecICLivenessProbe.java | 234 ++++++++ .../monitoring/v1/PrometheusSpecICPorts.java | 164 ++++++ .../monitoring/v1/PrometheusSpecICRPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecICRPGrpc.java | 122 +++++ .../v1/PrometheusSpecICRPHttpGet.java | 171 ++++++ .../v1/PrometheusSpecICRPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecICReadinessProbe.java | 234 ++++++++ .../v1/PrometheusSpecICResources.java | 149 +++++ .../v1/PrometheusSpecICSCCapabilities.java | 128 +++++ .../v1/PrometheusSpecICSCSeLinuxOptions.java | 150 +++++ .../v1/PrometheusSpecICSCSeccompProfile.java | 122 +++++ .../v1/PrometheusSpecICSCWindowsOptions.java | 150 +++++ .../monitoring/v1/PrometheusSpecICSPExec.java | 112 ++++ .../monitoring/v1/PrometheusSpecICSPGrpc.java | 122 +++++ .../v1/PrometheusSpecICSPHttpGet.java | 171 ++++++ .../v1/PrometheusSpecICSPTcpSocket.java | 124 +++++ .../v1/PrometheusSpecICSecurityContext.java | 248 +++++++++ .../v1/PrometheusSpecICStartupProbe.java | 234 ++++++++ .../v1/PrometheusSpecICVolumeMounts.java | 178 ++++++ .../v1/PrometheusSpecImagePullSecrets.java | 108 ++++ .../v1/PrometheusSpecInitContainers.java | 450 +++++++++++++++ ...cPersistentVolumeClaimRetentionPolicy.java | 122 +++++ ...ta.java => PrometheusSpecPodMetadata.java} | 12 +- ...etheusSpecPodMonitorNamespaceSelector.java | 129 +++++ .../v1/PrometheusSpecPodMonitorSelector.java | 129 +++++ .../PrometheusSpecProbeNamespaceSelector.java | 129 +++++ .../v1/PrometheusSpecProbeSelector.java | 129 +++++ ...ecPrometheusRulesExcludedFromEnforce.java} | 12 +- ...uerySpec.java => PrometheusSpecQuery.java} | 12 +- ...esAlert.java => PrometheusSpecRAlert.java} | 12 +- .../v1/PrometheusSpecRRACredentials.java | 136 +++++ .../v1/PrometheusSpecRRAuthorization.java | 136 +++++ .../v1/PrometheusSpecRRBasicAuth.java | 122 +++++ .../v1/PrometheusSpecRRBasicAuthPassword.java | 136 +++++ .../v1/PrometheusSpecRRBasicAuthUsername.java | 136 +++++ .../v1/PrometheusSpecRROCIConfigMap.java | 136 +++++ .../v1/PrometheusSpecRROCISecret.java | 136 +++++ .../v1/PrometheusSpecRROClientId.java | 122 +++++ .../v1/PrometheusSpecRROClientSecret.java | 136 +++++ .../monitoring/v1/PrometheusSpecRROauth2.java | 170 ++++++ .../v1/PrometheusSpecRRTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecRRTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecRRTCCSecret.java | 136 +++++ .../v1/PrometheusSpecRRTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecRRTCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecRRTCCert.java | 122 +++++ .../v1/PrometheusSpecRRTCKeySecret.java | 136 +++++ .../v1/PrometheusSpecRRTlsConfig.java | 206 +++++++ .../v1/PrometheusSpecRWAAManagedIdentity.java | 108 ++++ .../v1/PrometheusSpecRWAAOClientSecret.java | 136 +++++ .../v1/PrometheusSpecRWAAOauth.java | 136 +++++ .../v1/PrometheusSpecRWACredentials.java | 136 +++++ .../v1/PrometheusSpecRWAuthorization.java | 136 +++++ .../v1/PrometheusSpecRWAzureAd.java | 136 +++++ .../v1/PrometheusSpecRWBasicAuth.java | 122 +++++ .../v1/PrometheusSpecRWBasicAuthPassword.java | 136 +++++ .../v1/PrometheusSpecRWBasicAuthUsername.java | 136 +++++ ...va => PrometheusSpecRWMetadataConfig.java} | 12 +- .../v1/PrometheusSpecRWOCIConfigMap.java | 136 +++++ .../v1/PrometheusSpecRWOCISecret.java | 136 +++++ .../v1/PrometheusSpecRWOClientId.java | 122 +++++ .../v1/PrometheusSpecRWOClientSecret.java | 136 +++++ .../monitoring/v1/PrometheusSpecRWOauth2.java | 170 ++++++ ....java => PrometheusSpecRWQueueConfig.java} | 28 +- .../v1/PrometheusSpecRWSAccessKey.java | 136 +++++ .../v1/PrometheusSpecRWSSecretKey.java | 136 +++++ .../monitoring/v1/PrometheusSpecRWSigv4.java | 164 ++++++ .../v1/PrometheusSpecRWTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecRWTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecRWTCCSecret.java | 136 +++++ .../v1/PrometheusSpecRWTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecRWTCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecRWTCCert.java | 122 +++++ .../v1/PrometheusSpecRWTCKeySecret.java | 136 +++++ .../v1/PrometheusSpecRWTlsConfig.java | 206 +++++++ .../PrometheusSpecRWWriteRelabelConfigs.java | 196 +++++++ ...pec.java => PrometheusSpecRemoteRead.java} | 36 +- ...ec.java => PrometheusSpecRemoteWrite.java} | 88 ++- .../v1/PrometheusSpecResources.java | 149 +++++ .../PrometheusSpecRuleNamespaceSelector.java | 129 +++++ .../v1/PrometheusSpecRuleSelector.java | 129 +++++ .../{Rules.java => PrometheusSpecRules.java} | 18 +- .../v1/PrometheusSpecSCRelabelings.java | 196 +++++++ .../v1/PrometheusSpecSCSeLinuxOptions.java | 150 +++++ .../v1/PrometheusSpecSCSeccompProfile.java | 122 +++++ .../v1/PrometheusSpecSCTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecSCTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecSCTCCSecret.java | 136 +++++ .../v1/PrometheusSpecSCTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecSCTCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecSCTCCert.java | 122 +++++ .../v1/PrometheusSpecSCTCKeySecret.java | 136 +++++ .../v1/PrometheusSpecSCTlsConfig.java | 206 +++++++ .../v1/PrometheusSpecSCWindowsOptions.java | 150 +++++ .../v1/PrometheusSpecSEVCTSpec.java | 224 ++++++++ .../v1/PrometheusSpecSEVCTSpecDataSource.java | 136 +++++ .../PrometheusSpecSEVCTSpecDataSourceRef.java | 150 +++++ .../v1/PrometheusSpecSEVCTSpecResources.java | 130 +++++ .../v1/PrometheusSpecSEVCTSpecSelector.java | 129 +++++ .../PrometheusSpecSEVolumeClaimTemplate.java | 124 +++++ .../v1/PrometheusSpecSEmptyDir.java | 124 +++++ .../v1/PrometheusSpecSEphemeral.java | 108 ++++ .../v1/PrometheusSpecSVCTMetadata.java | 140 +++++ .../monitoring/v1/PrometheusSpecSVCTSpec.java | 224 ++++++++ .../v1/PrometheusSpecSVCTSpecDataSource.java | 136 +++++ .../PrometheusSpecSVCTSpecDataSourceRef.java | 150 +++++ .../v1/PrometheusSpecSVCTSpecResources.java | 130 +++++ .../v1/PrometheusSpecSVCTSpecSelector.java | 129 +++++ .../v1/PrometheusSpecSVCTStatus.java | 222 ++++++++ .../PrometheusSpecSVCTStatusConditions.java | 178 ++++++ ...theusSpecSVCTStatusModifyVolumeStatus.java | 122 +++++ .../PrometheusSpecSVolumeClaimTemplate.java | 164 ++++++ .../v1/PrometheusSpecScrapeClasses.java | 154 ++++++ ...heusSpecScrapeConfigNamespaceSelector.java | 129 +++++ .../PrometheusSpecScrapeConfigSelector.java | 129 +++++ .../v1/PrometheusSpecSecurityContext.java | 241 ++++++++ ...usSpecServiceMonitorNamespaceSelector.java | 129 +++++ .../PrometheusSpecServiceMonitorSelector.java | 129 +++++ ...geSpec.java => PrometheusSpecStorage.java} | 32 +- .../v1/PrometheusSpecTAdditionalArgs.java | 122 +++++ .../v1/PrometheusSpecTCTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecTCTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecTCTCCSecret.java | 136 +++++ .../v1/PrometheusSpecTCTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecTCTCCa.java | 122 +++++ .../monitoring/v1/PrometheusSpecTCTCCert.java | 122 +++++ .../v1/PrometheusSpecTCTCKeySecret.java | 136 +++++ .../v1/PrometheusSpecTCTlsConfig.java | 206 +++++++ .../v1/PrometheusSpecTGSTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecTGSTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecTGSTCCSecret.java | 136 +++++ .../v1/PrometheusSpecTGSTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecTGSTCCa.java | 122 +++++ .../v1/PrometheusSpecTGSTCCert.java | 122 +++++ .../v1/PrometheusSpecTGSTCKeySecret.java | 136 +++++ .../PrometheusSpecTGrpcServerTlsConfig.java | 206 +++++++ .../PrometheusSpecTObjectStorageConfig.java | 136 +++++ .../v1/PrometheusSpecTResources.java | 149 +++++ .../v1/PrometheusSpecTSCLabelSelector.java | 129 +++++ .../v1/PrometheusSpecTTracingConfig.java | 136 +++++ .../v1/PrometheusSpecTVolumeMounts.java | 178 ++++++ ...nosSpec.java => PrometheusSpecThanos.java} | 53 +- .../v1/PrometheusSpecTolerations.java | 164 ++++++ ...ometheusSpecTopologySpreadConstraints.java | 224 ++++++++ ....java => PrometheusSpecTracingConfig.java} | 27 +- ...{TSDBSpec.java => PrometheusSpecTsdb.java} | 12 +- .../PrometheusSpecVAwsElasticBlockStore.java | 150 +++++ .../v1/PrometheusSpecVAzureDisk.java | 178 ++++++ .../v1/PrometheusSpecVAzureFile.java | 136 +++++ .../PrometheusSpecVCNodePublishSecretRef.java | 108 ++++ .../v1/PrometheusSpecVCSecretRef.java | 108 ++++ .../v1/PrometheusSpecVCSecretRef_1.java | 108 ++++ .../monitoring/v1/PrometheusSpecVCephfs.java | 182 +++++++ .../monitoring/v1/PrometheusSpecVCinder.java | 150 +++++ .../v1/PrometheusSpecVConfigMap.java | 155 ++++++ .../monitoring/v1/PrometheusSpecVCsi.java | 166 ++++++ .../v1/PrometheusSpecVDAIFieldRef.java | 122 +++++ .../PrometheusSpecVDAIResourceFieldRef.java | 138 +++++ .../monitoring/v1/PrometheusSpecVDAItems.java | 150 +++++ .../v1/PrometheusSpecVDownwardAPI.java | 126 +++++ .../v1/PrometheusSpecVEVCTSpec.java | 224 ++++++++ .../v1/PrometheusSpecVEVCTSpecDataSource.java | 136 +++++ .../PrometheusSpecVEVCTSpecDataSourceRef.java | 150 +++++ .../v1/PrometheusSpecVEVCTSpecResources.java | 130 +++++ .../v1/PrometheusSpecVEVCTSpecSelector.java | 129 +++++ .../PrometheusSpecVEVolumeClaimTemplate.java | 124 +++++ .../v1/PrometheusSpecVEmptyDir.java | 124 +++++ .../v1/PrometheusSpecVEphemeral.java | 108 ++++ .../v1/PrometheusSpecVFVSecretRef.java | 108 ++++ .../monitoring/v1/PrometheusSpecVFc.java | 170 ++++++ .../v1/PrometheusSpecVFlexVolume.java | 166 ++++++ .../monitoring/v1/PrometheusSpecVFlocker.java | 122 +++++ .../v1/PrometheusSpecVGcePersistentDisk.java | 150 +++++ .../monitoring/v1/PrometheusSpecVGitRepo.java | 136 +++++ .../v1/PrometheusSpecVGlusterfs.java | 136 +++++ .../v1/PrometheusSpecVHostPath.java | 122 +++++ .../v1/PrometheusSpecVISecretRef.java | 108 ++++ .../monitoring/v1/PrometheusSpecVIscsi.java | 252 +++++++++ .../monitoring/v1/PrometheusSpecVNfs.java | 136 +++++ .../v1/PrometheusSpecVPSCTBLabelSelector.java | 129 +++++ .../PrometheusSpecVPSClusterTrustBundle.java | 164 ++++++ .../v1/PrometheusSpecVPSConfigMap.java | 141 +++++ .../v1/PrometheusSpecVPSDAIFieldRef.java | 122 +++++ .../PrometheusSpecVPSDAIResourceFieldRef.java | 138 +++++ .../v1/PrometheusSpecVPSDAItems.java | 150 +++++ .../v1/PrometheusSpecVPSDownwardAPI.java | 112 ++++ .../v1/PrometheusSpecVPSSecret.java | 141 +++++ .../PrometheusSpecVPSServiceAccountToken.java | 136 +++++ .../v1/PrometheusSpecVPSources.java | 164 ++++++ .../PrometheusSpecVPersistentVolumeClaim.java | 122 +++++ .../PrometheusSpecVPhotonPersistentDisk.java | 122 +++++ .../v1/PrometheusSpecVPortworxVolume.java | 136 +++++ .../v1/PrometheusSpecVProjected.java | 126 +++++ .../monitoring/v1/PrometheusSpecVQuobyte.java | 178 ++++++ .../v1/PrometheusSpecVRSecretRef.java | 108 ++++ .../monitoring/v1/PrometheusSpecVRbd.java | 210 +++++++ .../v1/PrometheusSpecVSISecretRef.java | 108 ++++ .../v1/PrometheusSpecVSSecretRef.java | 108 ++++ .../monitoring/v1/PrometheusSpecVScaleIO.java | 234 ++++++++ .../monitoring/v1/PrometheusSpecVSecret.java | 155 ++++++ .../v1/PrometheusSpecVStorageos.java | 164 ++++++ .../v1/PrometheusSpecVVsphereVolume.java | 150 +++++ .../v1/PrometheusSpecVolumeMounts.java | 178 ++++++ .../monitoring/v1/PrometheusSpecVolumes.java | 514 ++++++++++++++++++ ...ers.java => PrometheusSpecWHCHeaders.java} | 12 +- ...ig.java => PrometheusSpecWHttpConfig.java} | 18 +- .../v1/PrometheusSpecWTCCConfigMap.java | 136 +++++ .../v1/PrometheusSpecWTCCConfigMap_1.java | 136 +++++ .../v1/PrometheusSpecWTCCSecret.java | 136 +++++ .../v1/PrometheusSpecWTCCSecret_1.java | 136 +++++ .../monitoring/v1/PrometheusSpecWTCCert.java | 122 +++++ .../v1/PrometheusSpecWTCClient_ca.java | 122 +++++ .../v1/PrometheusSpecWTCKeySecret.java | 136 +++++ ...fig.java => PrometheusSpecWTlsConfig.java} | 37 +- ...eusWebSpec.java => PrometheusSpecWeb.java} | 24 +- .../model/monitoring/v1/PrometheusStatus.java | 42 +- ...n.java => PrometheusStatusConditions.java} | 12 +- ...ava => PrometheusStatusShardStatuses.java} | 12 +- .../model/monitoring/v1/ServiceMonitor.java | 11 +- .../monitoring/v1/ServiceMonitorSpec.java | 73 ++- .../v1/ServiceMonitorSpecAttachMetadata.java | 108 ++++ .../v1/ServiceMonitorSpecEACredentials.java | 136 +++++ .../v1/ServiceMonitorSpecEAuthorization.java | 122 +++++ .../v1/ServiceMonitorSpecEBasicAuth.java | 122 +++++ .../ServiceMonitorSpecEBasicAuthPassword.java | 136 +++++ .../ServiceMonitorSpecEBasicAuthUsername.java | 136 +++++ .../ServiceMonitorSpecEBearerTokenSecret.java | 136 +++++ .../ServiceMonitorSpecEMetricRelabelings.java | 196 +++++++ .../v1/ServiceMonitorSpecEOCIConfigMap.java | 136 +++++ .../v1/ServiceMonitorSpecEOCISecret.java | 136 +++++ .../v1/ServiceMonitorSpecEOClientId.java | 122 +++++ .../v1/ServiceMonitorSpecEOClientSecret.java | 136 +++++ .../v1/ServiceMonitorSpecEOauth2.java | 170 ++++++ .../v1/ServiceMonitorSpecERelabelings.java | 196 +++++++ .../v1/ServiceMonitorSpecETCCConfigMap.java | 136 +++++ .../v1/ServiceMonitorSpecETCCConfigMap_1.java | 136 +++++ .../v1/ServiceMonitorSpecETCCSecret.java | 136 +++++ .../v1/ServiceMonitorSpecETCCSecret_1.java | 136 +++++ .../v1/ServiceMonitorSpecETCCa.java | 122 +++++ .../v1/ServiceMonitorSpecETCCert.java | 122 +++++ .../v1/ServiceMonitorSpecETCKeySecret.java | 136 +++++ .../v1/ServiceMonitorSpecETlsConfig.java | 206 +++++++ ....java => ServiceMonitorSpecEndpoints.java} | 82 +-- .../ServiceMonitorSpecNamespaceSelector.java | 126 +++++ .../v1/ServiceMonitorSpecSelector.java | 129 +++++ .../api/model/monitoring/v1/ThanosRuler.java | 11 +- .../model/monitoring/v1/ThanosRulerSpec.java | 184 ++++--- ...osRulerSpecANAPDSIDEPMatchExpressions.java | 140 +++++ .../ThanosRulerSpecANAPDSIDEPMatchFields.java | 140 +++++ .../ThanosRulerSpecANAPDSIDEPreference.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...RulerSpecANARDSIDENSTMatchExpressions.java | 140 +++++ ...hanosRulerSpecANARDSIDENSTMatchFields.java | 140 +++++ ...osRulerSpecANARDSIDENodeSelectorTerms.java | 128 +++++ ...uringSchedulingIgnoredDuringExecution.java | 112 ++++ .../v1/ThanosRulerSpecANodeAffinity.java | 126 +++++ ...osRulerSpecAPAAPDSIDEPATLabelSelector.java | 129 +++++ ...lerSpecAPAAPDSIDEPATNamespaceSelector.java | 129 +++++ ...nosRulerSpecAPAAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...hanosRulerSpecAPAARDSIDELabelSelector.java | 129 +++++ ...sRulerSpecAPAARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ ...nosRulerSpecAPAPDSIDEPATLabelSelector.java | 129 +++++ ...ulerSpecAPAPDSIDEPATNamespaceSelector.java | 129 +++++ ...anosRulerSpecAPAPDSIDEPodAffinityTerm.java | 186 +++++++ ...uringSchedulingIgnoredDuringExecution.java | 122 +++++ ...ThanosRulerSpecAPARDSIDELabelSelector.java | 129 +++++ ...osRulerSpecAPARDSIDENamespaceSelector.java | 129 +++++ ...uringSchedulingIgnoredDuringExecution.java | 186 +++++++ .../v1/ThanosRulerSpecAPodAffinity.java | 128 +++++ .../v1/ThanosRulerSpecAPodAntiAffinity.java | 128 +++++ .../v1/ThanosRulerSpecAdditionalArgs.java | 122 +++++ .../v1/ThanosRulerSpecAffinity.java | 136 +++++ .../ThanosRulerSpecAlertRelabelConfigs.java | 136 +++++ .../ThanosRulerSpecAlertmanagersConfig.java | 136 +++++ .../v1/ThanosRulerSpecCEFConfigMapRef.java | 122 +++++ .../v1/ThanosRulerSpecCEFSecretRef.java | 122 +++++ .../ThanosRulerSpecCEVFConfigMapKeyRef.java | 136 +++++ .../v1/ThanosRulerSpecCEVFFieldRef.java | 122 +++++ .../ThanosRulerSpecCEVFResourceFieldRef.java | 138 +++++ .../v1/ThanosRulerSpecCEVFSecretKeyRef.java | 136 +++++ .../v1/ThanosRulerSpecCEValueFrom.java | 150 +++++ .../monitoring/v1/ThanosRulerSpecCEnv.java | 136 +++++ .../v1/ThanosRulerSpecCEnvFrom.java | 136 +++++ .../monitoring/v1/ThanosRulerSpecCLPExec.java | 112 ++++ .../monitoring/v1/ThanosRulerSpecCLPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecCLPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecCLPSExec.java | 112 ++++ .../v1/ThanosRulerSpecCLPSExec_1.java | 112 ++++ .../v1/ThanosRulerSpecCLPSHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecCLPSHttpGet_1.java | 171 ++++++ .../v1/ThanosRulerSpecCLPSSleep.java | 108 ++++ .../v1/ThanosRulerSpecCLPSSleep_1.java | 108 ++++ .../v1/ThanosRulerSpecCLPSTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecCLPSTcpSocket_1.java | 124 +++++ .../v1/ThanosRulerSpecCLPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecCLPostStart.java | 150 +++++ .../v1/ThanosRulerSpecCLPreStop.java | 150 +++++ .../v1/ThanosRulerSpecCLifecycle.java | 122 +++++ .../v1/ThanosRulerSpecCLivenessProbe.java | 234 ++++++++ .../monitoring/v1/ThanosRulerSpecCPorts.java | 164 ++++++ .../monitoring/v1/ThanosRulerSpecCRPExec.java | 112 ++++ .../monitoring/v1/ThanosRulerSpecCRPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecCRPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecCRPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecCReadinessProbe.java | 234 ++++++++ .../v1/ThanosRulerSpecCResources.java | 149 +++++ .../v1/ThanosRulerSpecCSCCapabilities.java | 128 +++++ .../v1/ThanosRulerSpecCSCSeLinuxOptions.java | 150 +++++ .../v1/ThanosRulerSpecCSCSeccompProfile.java | 122 +++++ .../v1/ThanosRulerSpecCSCWindowsOptions.java | 150 +++++ .../monitoring/v1/ThanosRulerSpecCSPExec.java | 112 ++++ .../monitoring/v1/ThanosRulerSpecCSPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecCSPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecCSPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecCSecurityContext.java | 248 +++++++++ .../v1/ThanosRulerSpecCStartupProbe.java | 234 ++++++++ .../v1/ThanosRulerSpecCVolumeMounts.java | 178 ++++++ .../v1/ThanosRulerSpecContainers.java | 450 +++++++++++++++ ...hanosRulerSpecExcludedFromEnforcement.java | 150 +++++ .../v1/ThanosRulerSpecGSTCCConfigMap.java | 136 +++++ .../v1/ThanosRulerSpecGSTCCConfigMap_1.java | 136 +++++ .../v1/ThanosRulerSpecGSTCCSecret.java | 136 +++++ .../v1/ThanosRulerSpecGSTCCSecret_1.java | 136 +++++ .../monitoring/v1/ThanosRulerSpecGSTCCa.java | 122 +++++ .../v1/ThanosRulerSpecGSTCCert.java | 122 +++++ .../v1/ThanosRulerSpecGSTCKeySecret.java | 136 +++++ .../ThanosRulerSpecGrpcServerTlsConfig.java | 206 +++++++ .../v1/ThanosRulerSpecHostAliases.java | 126 +++++ .../v1/ThanosRulerSpecICEFConfigMapRef.java | 122 +++++ .../v1/ThanosRulerSpecICEFSecretRef.java | 122 +++++ .../ThanosRulerSpecICEVFConfigMapKeyRef.java | 136 +++++ .../v1/ThanosRulerSpecICEVFFieldRef.java | 122 +++++ .../ThanosRulerSpecICEVFResourceFieldRef.java | 138 +++++ .../v1/ThanosRulerSpecICEVFSecretKeyRef.java | 136 +++++ .../v1/ThanosRulerSpecICEValueFrom.java | 150 +++++ .../monitoring/v1/ThanosRulerSpecICEnv.java | 136 +++++ .../v1/ThanosRulerSpecICEnvFrom.java | 136 +++++ .../v1/ThanosRulerSpecICLPExec.java | 112 ++++ .../v1/ThanosRulerSpecICLPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecICLPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecICLPSExec.java | 112 ++++ .../v1/ThanosRulerSpecICLPSExec_1.java | 112 ++++ .../v1/ThanosRulerSpecICLPSHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecICLPSHttpGet_1.java | 171 ++++++ .../v1/ThanosRulerSpecICLPSSleep.java | 108 ++++ .../v1/ThanosRulerSpecICLPSSleep_1.java | 108 ++++ .../v1/ThanosRulerSpecICLPSTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecICLPSTcpSocket_1.java | 124 +++++ .../v1/ThanosRulerSpecICLPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecICLPostStart.java | 150 +++++ .../v1/ThanosRulerSpecICLPreStop.java | 150 +++++ .../v1/ThanosRulerSpecICLifecycle.java | 122 +++++ .../v1/ThanosRulerSpecICLivenessProbe.java | 234 ++++++++ .../monitoring/v1/ThanosRulerSpecICPorts.java | 164 ++++++ .../v1/ThanosRulerSpecICRPExec.java | 112 ++++ .../v1/ThanosRulerSpecICRPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecICRPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecICRPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecICReadinessProbe.java | 234 ++++++++ .../v1/ThanosRulerSpecICResources.java | 149 +++++ .../v1/ThanosRulerSpecICSCCapabilities.java | 128 +++++ .../v1/ThanosRulerSpecICSCSeLinuxOptions.java | 150 +++++ .../v1/ThanosRulerSpecICSCSeccompProfile.java | 122 +++++ .../v1/ThanosRulerSpecICSCWindowsOptions.java | 150 +++++ .../v1/ThanosRulerSpecICSPExec.java | 112 ++++ .../v1/ThanosRulerSpecICSPGrpc.java | 122 +++++ .../v1/ThanosRulerSpecICSPHttpGet.java | 171 ++++++ .../v1/ThanosRulerSpecICSPTcpSocket.java | 124 +++++ .../v1/ThanosRulerSpecICSecurityContext.java | 248 +++++++++ .../v1/ThanosRulerSpecICStartupProbe.java | 234 ++++++++ .../v1/ThanosRulerSpecICVolumeMounts.java | 178 ++++++ .../v1/ThanosRulerSpecImagePullSecrets.java | 108 ++++ .../v1/ThanosRulerSpecInitContainers.java | 450 +++++++++++++++ .../ThanosRulerSpecObjectStorageConfig.java | 136 +++++ .../v1/ThanosRulerSpecPodMetadata.java | 140 +++++ ...pecPrometheusRulesExcludedFromEnforce.java | 122 +++++ .../v1/ThanosRulerSpecQueryConfig.java | 136 +++++ .../v1/ThanosRulerSpecResources.java | 149 +++++ .../ThanosRulerSpecRuleNamespaceSelector.java | 129 +++++ .../v1/ThanosRulerSpecRuleSelector.java | 129 +++++ .../v1/ThanosRulerSpecSCSeLinuxOptions.java | 150 +++++ .../v1/ThanosRulerSpecSCSeccompProfile.java | 122 +++++ .../v1/ThanosRulerSpecSCWindowsOptions.java | 150 +++++ .../v1/ThanosRulerSpecSEVCTSpec.java | 224 ++++++++ .../ThanosRulerSpecSEVCTSpecDataSource.java | 136 +++++ ...ThanosRulerSpecSEVCTSpecDataSourceRef.java | 150 +++++ .../v1/ThanosRulerSpecSEVCTSpecResources.java | 130 +++++ .../v1/ThanosRulerSpecSEVCTSpecSelector.java | 129 +++++ .../ThanosRulerSpecSEVolumeClaimTemplate.java | 124 +++++ .../v1/ThanosRulerSpecSEmptyDir.java | 124 +++++ .../v1/ThanosRulerSpecSEphemeral.java | 108 ++++ .../v1/ThanosRulerSpecSVCTMetadata.java | 140 +++++ .../v1/ThanosRulerSpecSVCTSpec.java | 224 ++++++++ .../v1/ThanosRulerSpecSVCTSpecDataSource.java | 136 +++++ .../ThanosRulerSpecSVCTSpecDataSourceRef.java | 150 +++++ .../v1/ThanosRulerSpecSVCTSpecResources.java | 130 +++++ .../v1/ThanosRulerSpecSVCTSpecSelector.java | 129 +++++ .../v1/ThanosRulerSpecSVCTStatus.java | 222 ++++++++ .../ThanosRulerSpecSVCTStatusConditions.java | 178 ++++++ ...RulerSpecSVCTStatusModifyVolumeStatus.java | 122 +++++ .../ThanosRulerSpecSVolumeClaimTemplate.java | 164 ++++++ .../v1/ThanosRulerSpecSecurityContext.java | 241 ++++++++ .../monitoring/v1/ThanosRulerSpecStorage.java | 150 +++++ .../v1/ThanosRulerSpecTSCLabelSelector.java | 129 +++++ .../v1/ThanosRulerSpecTolerations.java | 164 ++++++ ...nosRulerSpecTopologySpreadConstraints.java | 210 +++++++ .../v1/ThanosRulerSpecTracingConfig.java | 136 +++++ .../ThanosRulerSpecVAwsElasticBlockStore.java | 150 +++++ .../v1/ThanosRulerSpecVAzureDisk.java | 178 ++++++ .../v1/ThanosRulerSpecVAzureFile.java | 136 +++++ ...ThanosRulerSpecVCNodePublishSecretRef.java | 108 ++++ .../v1/ThanosRulerSpecVCSecretRef.java | 108 ++++ .../v1/ThanosRulerSpecVCSecretRef_1.java | 108 ++++ .../monitoring/v1/ThanosRulerSpecVCephfs.java | 182 +++++++ .../monitoring/v1/ThanosRulerSpecVCinder.java | 150 +++++ .../v1/ThanosRulerSpecVConfigMap.java | 155 ++++++ .../monitoring/v1/ThanosRulerSpecVCsi.java | 166 ++++++ .../v1/ThanosRulerSpecVDAIFieldRef.java | 122 +++++ .../ThanosRulerSpecVDAIResourceFieldRef.java | 138 +++++ .../v1/ThanosRulerSpecVDAItems.java | 150 +++++ .../v1/ThanosRulerSpecVDownwardAPI.java | 126 +++++ .../v1/ThanosRulerSpecVEVCTSpec.java | 224 ++++++++ .../ThanosRulerSpecVEVCTSpecDataSource.java | 136 +++++ ...ThanosRulerSpecVEVCTSpecDataSourceRef.java | 150 +++++ .../v1/ThanosRulerSpecVEVCTSpecResources.java | 130 +++++ .../v1/ThanosRulerSpecVEVCTSpecSelector.java | 129 +++++ .../ThanosRulerSpecVEVolumeClaimTemplate.java | 124 +++++ .../v1/ThanosRulerSpecVEmptyDir.java | 124 +++++ .../v1/ThanosRulerSpecVEphemeral.java | 108 ++++ .../v1/ThanosRulerSpecVFVSecretRef.java | 108 ++++ .../monitoring/v1/ThanosRulerSpecVFc.java | 170 ++++++ .../v1/ThanosRulerSpecVFlexVolume.java | 166 ++++++ .../v1/ThanosRulerSpecVFlocker.java | 122 +++++ .../v1/ThanosRulerSpecVGcePersistentDisk.java | 150 +++++ .../v1/ThanosRulerSpecVGitRepo.java | 136 +++++ .../v1/ThanosRulerSpecVGlusterfs.java | 136 +++++ .../v1/ThanosRulerSpecVHostPath.java | 122 +++++ .../v1/ThanosRulerSpecVISecretRef.java | 108 ++++ .../monitoring/v1/ThanosRulerSpecVIscsi.java | 252 +++++++++ .../monitoring/v1/ThanosRulerSpecVNfs.java | 136 +++++ .../ThanosRulerSpecVPSCTBLabelSelector.java | 129 +++++ .../ThanosRulerSpecVPSClusterTrustBundle.java | 164 ++++++ .../v1/ThanosRulerSpecVPSConfigMap.java | 141 +++++ .../v1/ThanosRulerSpecVPSDAIFieldRef.java | 122 +++++ ...ThanosRulerSpecVPSDAIResourceFieldRef.java | 138 +++++ .../v1/ThanosRulerSpecVPSDAItems.java | 150 +++++ .../v1/ThanosRulerSpecVPSDownwardAPI.java | 112 ++++ .../v1/ThanosRulerSpecVPSSecret.java | 141 +++++ ...ThanosRulerSpecVPSServiceAccountToken.java | 136 +++++ .../v1/ThanosRulerSpecVPSources.java | 164 ++++++ ...ThanosRulerSpecVPersistentVolumeClaim.java | 122 +++++ .../ThanosRulerSpecVPhotonPersistentDisk.java | 122 +++++ .../v1/ThanosRulerSpecVPortworxVolume.java | 136 +++++ .../v1/ThanosRulerSpecVProjected.java | 126 +++++ .../v1/ThanosRulerSpecVQuobyte.java | 178 ++++++ .../v1/ThanosRulerSpecVRSecretRef.java | 108 ++++ .../monitoring/v1/ThanosRulerSpecVRbd.java | 210 +++++++ .../v1/ThanosRulerSpecVSISecretRef.java | 108 ++++ .../v1/ThanosRulerSpecVSSecretRef.java | 108 ++++ .../v1/ThanosRulerSpecVScaleIO.java | 234 ++++++++ .../monitoring/v1/ThanosRulerSpecVSecret.java | 155 ++++++ .../v1/ThanosRulerSpecVStorageos.java | 164 ++++++ .../v1/ThanosRulerSpecVVsphereVolume.java | 150 +++++ .../v1/ThanosRulerSpecVolumeMounts.java | 178 ++++++ .../monitoring/v1/ThanosRulerSpecVolumes.java | 514 ++++++++++++++++++ .../v1/ThanosRulerSpecWHCHeaders.java | 164 ++++++ .../v1/ThanosRulerSpecWHttpConfig.java | 122 +++++ .../v1/ThanosRulerSpecWTCCConfigMap.java | 136 +++++ .../v1/ThanosRulerSpecWTCCConfigMap_1.java | 136 +++++ .../v1/ThanosRulerSpecWTCCSecret.java | 136 +++++ .../v1/ThanosRulerSpecWTCCSecret_1.java | 136 +++++ .../monitoring/v1/ThanosRulerSpecWTCCert.java | 122 +++++ .../v1/ThanosRulerSpecWTCClient_ca.java | 122 +++++ .../v1/ThanosRulerSpecWTCKeySecret.java | 136 +++++ .../v1/ThanosRulerSpecWTlsConfig.java | 226 ++++++++ .../monitoring/v1/ThanosRulerSpecWeb.java | 122 +++++ .../monitoring/v1/ThanosRulerStatus.java | 8 +- .../v1/ThanosRulerStatusConditions.java | 178 ++++++ .../AlertmanagerConfig.java | 17 +- .../AlertmanagerConfigList.java | 16 +- .../AlertmanagerConfigSpec.java | 56 +- .../AlertmanagerConfigSpecIRSourceMatch.java | 136 +++++ .../AlertmanagerConfigSpecIRTargetMatch.java | 136 +++++ .../AlertmanagerConfigSpecInhibitRules.java} | 26 +- .../AlertmanagerConfigSpecRDCApiURL.java | 136 +++++ ...ertmanagerConfigSpecRDCHCACredentials.java | 136 +++++ ...rtmanagerConfigSpecRDCHCAuthorization.java | 122 +++++ .../AlertmanagerConfigSpecRDCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRDCHCBasicAuthPassword.java | 136 +++++ ...nagerConfigSpecRDCHCBasicAuthUsername.java | 136 +++++ ...nagerConfigSpecRDCHCBearerTokenSecret.java | 122 +++++ ...ertmanagerConfigSpecRDCHCOCIConfigMap.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCOCISecret.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCOClientId.java | 122 +++++ ...rtmanagerConfigSpecRDCHCOClientSecret.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCOauth2.java | 170 ++++++ ...ertmanagerConfigSpecRDCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRDCHCTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRDCHCTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRDCHCTCCert.java | 122 +++++ ...lertmanagerConfigSpecRDCHCTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecRDCHCTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecRDCHttpConfig.java} | 49 +- ...lertmanagerConfigSpecRDiscordConfigs.java} | 27 +- ...AlertmanagerConfigSpecRECAuthPassword.java | 122 +++++ .../AlertmanagerConfigSpecRECAuthSecret.java | 122 +++++ .../AlertmanagerConfigSpecRECHeaders.java} | 14 +- ...AlertmanagerConfigSpecRECTCCConfigMap.java | 136 +++++ ...ertmanagerConfigSpecRECTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRECTCCSecret.java | 136 +++++ .../AlertmanagerConfigSpecRECTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRECTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRECTCCert.java | 122 +++++ .../AlertmanagerConfigSpecRECTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecRECTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecREmailConfigs.java} | 40 +- ...ertmanagerConfigSpecRMCHCACredentials.java | 136 +++++ ...rtmanagerConfigSpecRMCHCAuthorization.java | 122 +++++ .../AlertmanagerConfigSpecRMCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRMCHCBasicAuthPassword.java | 136 +++++ ...nagerConfigSpecRMCHCBasicAuthUsername.java | 136 +++++ ...nagerConfigSpecRMCHCBearerTokenSecret.java | 122 +++++ ...ertmanagerConfigSpecRMCHCOCIConfigMap.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCOCISecret.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCOClientId.java | 122 +++++ ...rtmanagerConfigSpecRMCHCOClientSecret.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCOauth2.java | 170 ++++++ ...ertmanagerConfigSpecRMCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRMCHCTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRMCHCTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRMCHCTCCert.java | 122 +++++ ...lertmanagerConfigSpecRMCHCTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecRMCHCTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecRMCHttpConfig.java | 192 +++++++ .../AlertmanagerConfigSpecRMCWebhookUrl.java | 136 +++++ .../AlertmanagerConfigSpecRMatchers.java} | 28 +- ...AlertmanagerConfigSpecRMsteamsConfigs.java | 178 ++++++ .../AlertmanagerConfigSpecROCApiKey.java | 122 +++++ .../AlertmanagerConfigSpecROCDetails.java | 122 +++++ ...ertmanagerConfigSpecROCHCACredentials.java | 136 +++++ ...rtmanagerConfigSpecROCHCAuthorization.java | 122 +++++ .../AlertmanagerConfigSpecROCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecROCHCBasicAuthPassword.java | 136 +++++ ...nagerConfigSpecROCHCBasicAuthUsername.java | 136 +++++ ...nagerConfigSpecROCHCBearerTokenSecret.java | 122 +++++ ...ertmanagerConfigSpecROCHCOCIConfigMap.java | 136 +++++ .../AlertmanagerConfigSpecROCHCOCISecret.java | 136 +++++ .../AlertmanagerConfigSpecROCHCOClientId.java | 122 +++++ ...rtmanagerConfigSpecROCHCOClientSecret.java | 136 +++++ .../AlertmanagerConfigSpecROCHCOauth2.java | 170 ++++++ ...ertmanagerConfigSpecROCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecROCHCTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecROCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecROCHCTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecROCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecROCHCTCCert.java | 122 +++++ ...lertmanagerConfigSpecROCHCTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecROCHCTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecROCHttpConfig.java | 192 +++++++ .../AlertmanagerConfigSpecROCResponders.java} | 14 +- ...ertmanagerConfigSpecROpsgenieConfigs.java} | 55 +- .../AlertmanagerConfigSpecRPCDetails.java | 122 +++++ ...ertmanagerConfigSpecRPCHCACredentials.java | 136 +++++ ...tmanagerConfigSpecRPCHCACredentials_1.java | 136 +++++ ...rtmanagerConfigSpecRPCHCAuthorization.java | 122 +++++ ...managerConfigSpecRPCHCAuthorization_1.java | 122 +++++ .../AlertmanagerConfigSpecRPCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRPCHCBasicAuthPassword.java | 136 +++++ ...gerConfigSpecRPCHCBasicAuthPassword_1.java | 136 +++++ ...nagerConfigSpecRPCHCBasicAuthUsername.java | 136 +++++ ...gerConfigSpecRPCHCBasicAuthUsername_1.java | 136 +++++ ...lertmanagerConfigSpecRPCHCBasicAuth_1.java | 122 +++++ ...nagerConfigSpecRPCHCBearerTokenSecret.java | 122 +++++ ...gerConfigSpecRPCHCBearerTokenSecret_1.java | 122 +++++ ...ertmanagerConfigSpecRPCHCOCIConfigMap.java | 136 +++++ ...tmanagerConfigSpecRPCHCOCIConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCOCISecret.java | 136 +++++ ...lertmanagerConfigSpecRPCHCOCISecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCOClientId.java | 122 +++++ ...lertmanagerConfigSpecRPCHCOClientId_1.java | 122 +++++ ...rtmanagerConfigSpecRPCHCOClientSecret.java | 136 +++++ ...managerConfigSpecRPCHCOClientSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCOauth2.java | 170 ++++++ .../AlertmanagerConfigSpecRPCHCOauth2_1.java | 170 ++++++ ...ertmanagerConfigSpecRPCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRPCHCTCCConfigMap_1.java | 136 +++++ ...tmanagerConfigSpecRPCHCTCCConfigMap_2.java | 136 +++++ ...tmanagerConfigSpecRPCHCTCCConfigMap_3.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRPCHCTCCSecret_1.java | 136 +++++ ...lertmanagerConfigSpecRPCHCTCCSecret_2.java | 136 +++++ ...lertmanagerConfigSpecRPCHCTCCSecret_3.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRPCHCTCCa_1.java | 122 +++++ .../AlertmanagerConfigSpecRPCHCTCCert.java | 122 +++++ .../AlertmanagerConfigSpecRPCHCTCCert_1.java | 122 +++++ ...lertmanagerConfigSpecRPCHCTCKeySecret.java | 136 +++++ ...rtmanagerConfigSpecRPCHCTCKeySecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRPCHCTlsConfig.java | 164 ++++++ ...lertmanagerConfigSpecRPCHCTlsConfig_1.java | 164 ++++++ .../AlertmanagerConfigSpecRPCHttpConfig.java | 192 +++++++ ...AlertmanagerConfigSpecRPCHttpConfig_1.java | 192 +++++++ ...erConfigSpecRPCPagerDutyImageConfigs.java} | 14 +- ...gerConfigSpecRPCPagerDutyLinkConfigs.java} | 14 +- .../AlertmanagerConfigSpecRPCRoutingKey.java | 122 +++++ .../AlertmanagerConfigSpecRPCServiceKey.java | 122 +++++ .../AlertmanagerConfigSpecRPCToken.java | 122 +++++ .../AlertmanagerConfigSpecRPCUserKey.java | 122 +++++ ...rtmanagerConfigSpecRPagerdutyConfigs.java} | 63 ++- ...ertmanagerConfigSpecRPushoverConfigs.java} | 77 ++- .../AlertmanagerConfigSpecRSCAConfirm.java} | 14 +- .../AlertmanagerConfigSpecRSCActions.java} | 20 +- .../AlertmanagerConfigSpecRSCApiURL.java | 122 +++++ .../AlertmanagerConfigSpecRSCFields.java} | 14 +- ...ertmanagerConfigSpecRSCHCACredentials.java | 136 +++++ ...tmanagerConfigSpecRSCHCACredentials_1.java | 136 +++++ ...rtmanagerConfigSpecRSCHCAuthorization.java | 122 +++++ ...managerConfigSpecRSCHCAuthorization_1.java | 122 +++++ .../AlertmanagerConfigSpecRSCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRSCHCBasicAuthPassword.java | 136 +++++ ...gerConfigSpecRSCHCBasicAuthPassword_1.java | 136 +++++ ...nagerConfigSpecRSCHCBasicAuthUsername.java | 136 +++++ ...gerConfigSpecRSCHCBasicAuthUsername_1.java | 136 +++++ ...lertmanagerConfigSpecRSCHCBasicAuth_1.java | 122 +++++ ...nagerConfigSpecRSCHCBearerTokenSecret.java | 122 +++++ ...gerConfigSpecRSCHCBearerTokenSecret_1.java | 122 +++++ ...ertmanagerConfigSpecRSCHCOCIConfigMap.java | 136 +++++ ...tmanagerConfigSpecRSCHCOCIConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCOCISecret.java | 136 +++++ ...lertmanagerConfigSpecRSCHCOCISecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCOClientId.java | 122 +++++ ...lertmanagerConfigSpecRSCHCOClientId_1.java | 122 +++++ ...rtmanagerConfigSpecRSCHCOClientSecret.java | 136 +++++ ...managerConfigSpecRSCHCOClientSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCOauth2.java | 170 ++++++ .../AlertmanagerConfigSpecRSCHCOauth2_1.java | 170 ++++++ ...ertmanagerConfigSpecRSCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRSCHCTCCConfigMap_1.java | 136 +++++ ...tmanagerConfigSpecRSCHCTCCConfigMap_2.java | 136 +++++ ...tmanagerConfigSpecRSCHCTCCConfigMap_3.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRSCHCTCCSecret_1.java | 136 +++++ ...lertmanagerConfigSpecRSCHCTCCSecret_2.java | 136 +++++ ...lertmanagerConfigSpecRSCHCTCCSecret_3.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRSCHCTCCa_1.java | 122 +++++ .../AlertmanagerConfigSpecRSCHCTCCert.java | 122 +++++ .../AlertmanagerConfigSpecRSCHCTCCert_1.java | 122 +++++ ...lertmanagerConfigSpecRSCHCTCKeySecret.java | 136 +++++ ...rtmanagerConfigSpecRSCHCTCKeySecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRSCHCTlsConfig.java | 164 ++++++ ...lertmanagerConfigSpecRSCHCTlsConfig_1.java | 164 ++++++ .../AlertmanagerConfigSpecRSCHttpConfig.java | 192 +++++++ ...AlertmanagerConfigSpecRSCHttpConfig_1.java | 192 +++++++ .../AlertmanagerConfigSpecRSCSAccessKey.java | 136 +++++ .../AlertmanagerConfigSpecRSCSSecretKey.java | 136 +++++ .../AlertmanagerConfigSpecRSCSigv4.java | 164 ++++++ .../AlertmanagerConfigSpecRSlackConfigs.java} | 39 +- .../AlertmanagerConfigSpecRSnsConfigs.java} | 27 +- .../AlertmanagerConfigSpecRTCBotToken.java | 122 +++++ ...ertmanagerConfigSpecRTCHCACredentials.java | 136 +++++ ...rtmanagerConfigSpecRTCHCAuthorization.java | 122 +++++ .../AlertmanagerConfigSpecRTCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRTCHCBasicAuthPassword.java | 136 +++++ ...nagerConfigSpecRTCHCBasicAuthUsername.java | 136 +++++ ...nagerConfigSpecRTCHCBearerTokenSecret.java | 122 +++++ ...ertmanagerConfigSpecRTCHCOCIConfigMap.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCOCISecret.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCOClientId.java | 122 +++++ ...rtmanagerConfigSpecRTCHCOClientSecret.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCOauth2.java | 170 ++++++ ...ertmanagerConfigSpecRTCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRTCHCTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRTCHCTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRTCHCTCCert.java | 122 +++++ ...lertmanagerConfigSpecRTCHCTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecRTCHCTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecRTCHttpConfig.java | 192 +++++++ ...ertmanagerConfigSpecRTelegramConfigs.java} | 27 +- .../AlertmanagerConfigSpecRVCApiKey.java | 122 +++++ ...AlertmanagerConfigSpecRVCCustomFields.java | 122 +++++ ...ertmanagerConfigSpecRVCHCACredentials.java | 136 +++++ ...rtmanagerConfigSpecRVCHCAuthorization.java | 122 +++++ .../AlertmanagerConfigSpecRVCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRVCHCBasicAuthPassword.java | 136 +++++ ...nagerConfigSpecRVCHCBasicAuthUsername.java | 136 +++++ ...nagerConfigSpecRVCHCBearerTokenSecret.java | 122 +++++ ...ertmanagerConfigSpecRVCHCOCIConfigMap.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCOCISecret.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCOClientId.java | 122 +++++ ...rtmanagerConfigSpecRVCHCOClientSecret.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCOauth2.java | 170 ++++++ ...ertmanagerConfigSpecRVCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRVCHCTCCConfigMap_1.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRVCHCTCCSecret_1.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRVCHCTCCert.java | 122 +++++ ...lertmanagerConfigSpecRVCHCTCKeySecret.java | 136 +++++ .../AlertmanagerConfigSpecRVCHCTlsConfig.java | 164 ++++++ .../AlertmanagerConfigSpecRVCHttpConfig.java | 192 +++++++ ...rtmanagerConfigSpecRVictoropsConfigs.java} | 33 +- .../AlertmanagerConfigSpecRWCApiSecret.java | 122 +++++ ...ertmanagerConfigSpecRWCHCACredentials.java | 136 +++++ ...tmanagerConfigSpecRWCHCACredentials_1.java | 136 +++++ ...tmanagerConfigSpecRWCHCACredentials_2.java | 136 +++++ ...rtmanagerConfigSpecRWCHCAuthorization.java | 122 +++++ ...managerConfigSpecRWCHCAuthorization_1.java | 122 +++++ ...managerConfigSpecRWCHCAuthorization_2.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCBasicAuth.java | 122 +++++ ...nagerConfigSpecRWCHCBasicAuthPassword.java | 136 +++++ ...gerConfigSpecRWCHCBasicAuthPassword_1.java | 136 +++++ ...gerConfigSpecRWCHCBasicAuthPassword_2.java | 136 +++++ ...nagerConfigSpecRWCHCBasicAuthUsername.java | 136 +++++ ...gerConfigSpecRWCHCBasicAuthUsername_1.java | 136 +++++ ...gerConfigSpecRWCHCBasicAuthUsername_2.java | 136 +++++ ...lertmanagerConfigSpecRWCHCBasicAuth_1.java | 122 +++++ ...lertmanagerConfigSpecRWCHCBasicAuth_2.java | 122 +++++ ...nagerConfigSpecRWCHCBearerTokenSecret.java | 122 +++++ ...gerConfigSpecRWCHCBearerTokenSecret_1.java | 122 +++++ ...gerConfigSpecRWCHCBearerTokenSecret_2.java | 122 +++++ ...ertmanagerConfigSpecRWCHCOCIConfigMap.java | 136 +++++ ...tmanagerConfigSpecRWCHCOCIConfigMap_1.java | 136 +++++ ...tmanagerConfigSpecRWCHCOCIConfigMap_2.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCOCISecret.java | 136 +++++ ...lertmanagerConfigSpecRWCHCOCISecret_1.java | 136 +++++ ...lertmanagerConfigSpecRWCHCOCISecret_2.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCOClientId.java | 122 +++++ ...lertmanagerConfigSpecRWCHCOClientId_1.java | 122 +++++ ...lertmanagerConfigSpecRWCHCOClientId_2.java | 122 +++++ ...rtmanagerConfigSpecRWCHCOClientSecret.java | 136 +++++ ...managerConfigSpecRWCHCOClientSecret_1.java | 136 +++++ ...managerConfigSpecRWCHCOClientSecret_2.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCOauth2.java | 170 ++++++ .../AlertmanagerConfigSpecRWCHCOauth2_1.java | 170 ++++++ .../AlertmanagerConfigSpecRWCHCOauth2_2.java | 170 ++++++ ...ertmanagerConfigSpecRWCHCTCCConfigMap.java | 136 +++++ ...tmanagerConfigSpecRWCHCTCCConfigMap_1.java | 136 +++++ ...tmanagerConfigSpecRWCHCTCCConfigMap_2.java | 136 +++++ ...tmanagerConfigSpecRWCHCTCCConfigMap_3.java | 136 +++++ ...tmanagerConfigSpecRWCHCTCCConfigMap_4.java | 136 +++++ ...tmanagerConfigSpecRWCHCTCCConfigMap_5.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCTCCSecret.java | 136 +++++ ...lertmanagerConfigSpecRWCHCTCCSecret_1.java | 136 +++++ ...lertmanagerConfigSpecRWCHCTCCSecret_2.java | 136 +++++ ...lertmanagerConfigSpecRWCHCTCCSecret_3.java | 136 +++++ ...lertmanagerConfigSpecRWCHCTCCSecret_4.java | 136 +++++ ...lertmanagerConfigSpecRWCHCTCCSecret_5.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCTCCa.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCTCCa_1.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCTCCa_2.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCTCCert.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCTCCert_1.java | 122 +++++ .../AlertmanagerConfigSpecRWCHCTCCert_2.java | 122 +++++ ...lertmanagerConfigSpecRWCHCTCKeySecret.java | 136 +++++ ...rtmanagerConfigSpecRWCHCTCKeySecret_1.java | 136 +++++ ...rtmanagerConfigSpecRWCHCTCKeySecret_2.java | 136 +++++ .../AlertmanagerConfigSpecRWCHCTlsConfig.java | 164 ++++++ ...lertmanagerConfigSpecRWCHCTlsConfig_1.java | 164 ++++++ ...lertmanagerConfigSpecRWCHCTlsConfig_2.java | 164 ++++++ .../AlertmanagerConfigSpecRWCHttpConfig.java | 192 +++++++ ...AlertmanagerConfigSpecRWCHttpConfig_1.java | 192 +++++++ ...AlertmanagerConfigSpecRWCHttpConfig_2.java | 192 +++++++ .../AlertmanagerConfigSpecRWCUrlSecret.java | 122 +++++ .../AlertmanagerConfigSpecRWebexConfigs.java} | 20 +- ...lertmanagerConfigSpecRWebhookConfigs.java} | 27 +- ...AlertmanagerConfigSpecRWechatConfigs.java} | 27 +- .../AlertmanagerConfigSpecReceivers.java} | 102 ++-- .../AlertmanagerConfigSpecRoute.java} | 29 +- ...lertmanagerConfigSpecTITIDaysOfMonth.java} | 14 +- .../AlertmanagerConfigSpecTITITimes.java} | 14 +- ...lertmanagerConfigSpecTITimeIntervals.java} | 26 +- .../AlertmanagerConfigSpecTimeIntervals.java} | 20 +- .../server/mock/AlertmanagerConfigTest.java | 14 +- .../server/mock/PrometheusRuleTest.java | 2 +- .../client/server/mock/PrometheusTest.java | 24 +- .../dsl/OpenShiftMonitoringAPIGroupDSL.java | 4 +- .../OpenShiftMonitoringAPIGroupClient.java | 4 +- 1244 files changed, 164258 insertions(+), 2530 deletions(-) delete mode 100644 kubernetes-model-generator/openshift-model-monitoring/Makefile delete mode 100644 kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go delete mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java delete mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ProbeTLSConfig.java => AlertmanagerSpecACGHCTlsConfig.java} (80%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{HTTPConfig.java => AlertmanagerSpecACGHttpConfig.java} (74%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{HostPort.java => AlertmanagerSpecACGSSmartHost.java} (89%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{GlobalSMTPConfig.java => AlertmanagerSpecACGSmtp.java} (82%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertmanagerGlobalConfig.java => AlertmanagerSpecACGlobal.java} (75%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTemplates.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPreference.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENodeSelectorTerms.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANodeAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAntiAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAffinity.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertmanagerConfigMatcherStrategy.java => AlertmanagerSpecAlertmanagerConfigMatcherStrategy.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigSelector.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertmanagerConfiguration.java => AlertmanagerSpecAlertmanagerConfiguration.java} (80%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecContainers.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecHostAliases.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecImagePullSecrets.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecInitContainers.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecPodMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatus.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusConditions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusModifyVolumeStatus.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{EmbeddedPersistentVolumeClaim.java => AlertmanagerSpecSVolumeClaimTemplate.java} (66%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecStorage.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTSCLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTolerations.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTopologySpreadConstraints.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAwsElasticBlockStore.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureFile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCNodePublishSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCephfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCinder.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFVSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlexVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlocker.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGcePersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGitRepo.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGlusterfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVHostPath.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVIscsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVNfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSCTBLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSClusterTrustBundle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSServiceAccountToken.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPersistentVolumeClaim.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPhotonPersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPortworxVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVProjected.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVQuobyte.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRbd.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVScaleIO.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVStorageos.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVVsphereVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumes.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHCHeaders.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret_1.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{SecretOrConfigMap.java => AlertmanagerSpecWTCCert.java} (81%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCClient_ca.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTlsConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertmanagerWebSpec.java => AlertmanagerSpecWeb.java} (83%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatusConditions.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AttachMetadata.java => PodMonitorSpecAttachMetadata.java} (88%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEMetricRelabelings.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMERelabelings.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCKeySecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{PodMetricsEndpointTLSConfig.java => PodMonitorSpecPMETlsConfig.java} (81%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{PodMetricsEndpoint.java => PodMonitorSpecPodMetricsEndpoints.java} (73%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecACredentials.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{SafeAuthorization.java => ProbeSpecAuthorization.java} (85%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{BasicAuth.java => ProbeSpecBasicAuth.java} (82%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBearerTokenSecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{RelabelConfig.java => ProbeSpecMetricRelabelings.java} (91%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientSecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{OAuth2.java => ProbeSpecOauth2.java} (86%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ProberSpec.java => ProbeSpecProber.java} (92%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCKeySecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{NamespaceSelector.java => ProbeSpecTINamespaceSelector.java} (89%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIRelabelingConfigs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTISelector.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ProbeTargetIngress.java => ProbeSpecTIngress.java} (76%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTSCRelabelingConfigs.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ProbeTargetStaticConfig.java => ProbeSpecTStaticConfig.java} (85%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ProbeTargets.java => ProbeSpecTargets.java} (83%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{SafeTLSConfig.java => ProbeSpecTlsConfig.java} (83%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Rule.java => PrometheusRuleSpecGRules.java} (81%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{RuleGroup.java => PrometheusRuleSpecGroups.java} (80%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASAccessKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASSecretKey.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Sigv4.java => PrometheusSpecAASigv4.java} (84%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCKeySecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{TLSConfig.java => PrometheusSpecAATlsConfig.java} (83%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertmanagerEndpoints.java => PrometheusSpecAAlertmanagers.java} (76%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACACredentials.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Authorization.java => PrometheusSpecACAuthorization.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPreference.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENodeSelectorTerms.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANodeAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAntiAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertManagerConfigs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertRelabelConfigs.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Argument.java => PrometheusSpecAdditionalArgs.java} (89%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalScrapeConfigs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAffinity.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{AlertingSpec.java => PrometheusSpecAlerting.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{APIServerConfig.java => PrometheusSpecApiserverConfig.java} (80%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ArbitraryFSAccessThroughSMsConfig.java => PrometheusSpecArbitraryFSAccessThroughSMs.java} (86%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecContainers.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ObjectReference.java => PrometheusSpecExcludedFromEnforcement.java} (86%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Exemplars.java => PrometheusSpecExemplars.java} (89%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{HostAlias.java => PrometheusSpecHostAliases.java} (90%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecImagePullSecrets.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecInitContainers.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPersistentVolumeClaimRetentionPolicy.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{EmbeddedObjectMetadata.java => PrometheusSpecPodMetadata.java} (90%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeSelector.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{PrometheusRuleExcludeConfig.java => PrometheusSpecPrometheusRulesExcludedFromEnforce.java} (86%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{QuerySpec.java => PrometheusSpecQuery.java} (91%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{RulesAlert.java => PrometheusSpecRAlert.java} (91%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAManagedIdentity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOauth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAzureAd.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthUsername.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{MetadataConfig.java => PrometheusSpecRWMetadataConfig.java} (89%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOauth2.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{QueueConfig.java => PrometheusSpecRWQueueConfig.java} (86%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSAccessKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSSecretKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSigv4.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWWriteRelabelConfigs.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{RemoteReadSpec.java => PrometheusSpecRemoteRead.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{RemoteWriteSpec.java => PrometheusSpecRemoteWrite.java} (72%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleSelector.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Rules.java => PrometheusSpecRules.java} (86%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCRelabelings.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatus.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusConditions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusModifyVolumeStatus.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeClasses.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorSelector.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{StorageSpec.java => PrometheusSpecStorage.java} (79%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTAdditionalArgs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGrpcServerTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTObjectStorageConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTSCLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTTracingConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTVolumeMounts.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ThanosSpec.java => PrometheusSpecThanos.java} (81%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTolerations.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTopologySpreadConstraints.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{PrometheusTracingConfig.java => PrometheusSpecTracingConfig.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{TSDBSpec.java => PrometheusSpecTsdb.java} (90%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAwsElasticBlockStore.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureFile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCNodePublishSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCephfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCinder.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFVSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlexVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlocker.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGcePersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGitRepo.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGlusterfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVHostPath.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVIscsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVNfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSCTBLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSClusterTrustBundle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSServiceAccountToken.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPersistentVolumeClaim.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPhotonPersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPortworxVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVProjected.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVQuobyte.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRbd.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVScaleIO.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVStorageos.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVVsphereVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumes.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{WebHTTPHeaders.java => PrometheusSpecWHCHeaders.java} (91%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{WebHTTPConfig.java => PrometheusSpecWHttpConfig.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCClient_ca.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCKeySecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{WebTLSConfig.java => PrometheusSpecWTlsConfig.java} (83%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{PrometheusWebSpec.java => PrometheusSpecWeb.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Condition.java => PrometheusStatusConditions.java} (91%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{ShardStatus.java => PrometheusStatusShardStatuses.java} (90%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecAttachMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEMetricRelabelings.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecERelabelings.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETlsConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/{Endpoint.java => ServiceMonitorSpecEndpoints.java} (73%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPreference.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchExpressions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENodeSelectorTerms.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANodeAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPodAffinityTerm.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDELabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDENamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAntiAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAdditionalArgs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAffinity.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertRelabelConfigs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertmanagersConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecContainers.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecExcludedFromEnforcement.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGrpcServerTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecHostAliases.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFConfigMapRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFConfigMapKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFSecretKeyRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEValueFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnv.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnvFrom.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPostStart.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPreStop.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLifecycle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLivenessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICPorts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICReadinessProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCCapabilities.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPExec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPGrpc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPHttpGet.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPTcpSocket.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICStartupProbe.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecImagePullSecrets.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecInitContainers.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecObjectStorageConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPodMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPrometheusRulesExcludedFromEnforce.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecQueryConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleNamespaceSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeLinuxOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeccompProfile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCWindowsOptions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTMetadata.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatus.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusConditions.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusModifyVolumeStatus.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSecurityContext.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecStorage.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTSCLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTolerations.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTopologySpreadConstraints.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTracingConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAwsElasticBlockStore.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureFile.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCNodePublishSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCephfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCinder.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpec.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSource.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSourceRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecResources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVolumeClaimTemplate.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEmptyDir.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEphemeral.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFVSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFc.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlexVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlocker.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGcePersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGitRepo.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGlusterfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVHostPath.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVIscsi.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVNfs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSCTBLabelSelector.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSClusterTrustBundle.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIResourceFieldRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAItems.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDownwardAPI.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSServiceAccountToken.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSources.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPersistentVolumeClaim.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPhotonPersistentDisk.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPortworxVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVProjected.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVQuobyte.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRbd.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSISecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSSecretRef.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVScaleIO.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVStorageos.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVVsphereVolume.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumeMounts.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumes.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHCHeaders.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCClient_ca.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWeb.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatusConditions.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1 => v1beta1}/AlertmanagerConfig.java (89%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1 => v1beta1}/AlertmanagerConfigList.java (90%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1 => v1beta1}/AlertmanagerConfigSpec.java (74%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRSourceMatch.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRTargetMatch.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/InhibitRule.java => v1beta1/AlertmanagerConfigSpecInhibitRules.java} (78%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCApiURL.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTlsConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/HTTPConfig.java => v1beta1/AlertmanagerConfigSpecRDCHttpConfig.java} (72%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/DiscordConfig.java => v1beta1/AlertmanagerConfigSpecRDiscordConfigs.java} (80%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthSecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/KeyValue.java => v1beta1/AlertmanagerConfigSpecRECHeaders.java} (87%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTlsConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/EmailConfig.java => v1beta1/AlertmanagerConfigSpecREmailConfigs.java} (80%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCWebhookUrl.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/Matcher.java => v1beta1/AlertmanagerConfigSpecRMatchers.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMsteamsConfigs.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCApiKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCDetails.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHttpConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/OpsGenieConfigResponder.java => v1beta1/AlertmanagerConfigSpecROCResponders.java} (87%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/OpsGenieConfig.java => v1beta1/AlertmanagerConfigSpecROpsgenieConfigs.java} (80%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCDetails.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig_1.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/PagerDutyImageConfig.java => v1beta1/AlertmanagerConfigSpecRPCPagerDutyImageConfigs.java} (85%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/PagerDutyLinkConfig.java => v1beta1/AlertmanagerConfigSpecRPCPagerDutyLinkConfigs.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCRoutingKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCServiceKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCToken.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCUserKey.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/PagerDutyConfig.java => v1beta1/AlertmanagerConfigSpecRPagerdutyConfigs.java} (73%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/PushoverConfig.java => v1beta1/AlertmanagerConfigSpecRPushoverConfigs.java} (72%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/SlackConfirmationField.java => v1beta1/AlertmanagerConfigSpecRSCAConfirm.java} (88%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/SlackAction.java => v1beta1/AlertmanagerConfigSpecRSCActions.java} (85%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCApiURL.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/SlackField.java => v1beta1/AlertmanagerConfigSpecRSCFields.java} (88%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSAccessKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSSecretKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSigv4.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/SlackConfig.java => v1beta1/AlertmanagerConfigSpecRSlackConfigs.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/SNSConfig.java => v1beta1/AlertmanagerConfigSpecRSnsConfigs.java} (84%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCBotToken.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHttpConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/TelegramConfig.java => v1beta1/AlertmanagerConfigSpecRTelegramConfigs.java} (83%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCApiKey.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCCustomFields.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHttpConfig.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/VictorOpsConfig.java => v1beta1/AlertmanagerConfigSpecRVictoropsConfigs.java} (81%) create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCApiSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_4.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_5.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_3.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_4.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_5.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_1.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_2.java create mode 100644 kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCUrlSecret.java rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/WebexConfig.java => v1beta1/AlertmanagerConfigSpecRWebexConfigs.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/WebhookConfig.java => v1beta1/AlertmanagerConfigSpecRWebhookConfigs.java} (80%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/WeChatConfig.java => v1beta1/AlertmanagerConfigSpecRWechatConfigs.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/Receiver.java => v1beta1/AlertmanagerConfigSpecReceivers.java} (59%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/Route.java => v1beta1/AlertmanagerConfigSpecRoute.java} (84%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/DayOfMonthRange.java => v1beta1/AlertmanagerConfigSpecTITIDaysOfMonth.java} (86%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/TimeRange.java => v1beta1/AlertmanagerConfigSpecTITITimes.java} (87%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/TimeInterval.java => v1beta1/AlertmanagerConfigSpecTITimeIntervals.java} (81%) rename kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/{v1alpha1/MuteTimeInterval.java => v1beta1/AlertmanagerConfigSpecTimeIntervals.java} (81%) diff --git a/Makefile b/Makefile index b56cdd85a6a..3f0165260bc 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ generate-openapi-classes: cd kubernetes-model-generator/openshift-model-autoscaling && mvn -Pgenerate clean install cd kubernetes-model-generator/openshift-model-machine && mvn -Pgenerate clean install cd kubernetes-model-generator/openshift-model-machineconfiguration && mvn -Pgenerate clean install + cd kubernetes-model-generator/openshift-model-monitoring && mvn -Pgenerate clean install # Legacy generation of the model: TODO: remove .PHONY: generate-model-legacy diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh index 74538a1da5a..1640d20d35e 100755 --- a/kubernetes-model-generator/generateModel.sh +++ b/kubernetes-model-generator/generateModel.sh @@ -24,7 +24,6 @@ ABSOLUTE_BASEDIR=$(realpath "$BASEDIR") declare -a modules=( "openshift-model-hive" "openshift-model-installer" - "openshift-model-monitoring" "openshift-model-tuned" "openshift-model-whereabouts" "openshift-model-storageversionmigrator" diff --git a/kubernetes-model-generator/kubernetes-model-core/pom.xml b/kubernetes-model-generator/kubernetes-model-core/pom.xml index 91b4a0d70b2..5510b6254b0 100644 --- a/kubernetes-model-generator/kubernetes-model-core/pom.xml +++ b/kubernetes-model-generator/kubernetes-model-core/pom.xml @@ -71,13 +71,13 @@ io.fabric8.kubernetes.api.model.storage, io.fabric8.kubernetes.api.model.storage.v1beta1, io.fabric8.openshift.api.model;resolution:=optional, - io.fabric8.openshift.api.model.clusterautoscaling.v1;resolution:=optional, - io.fabric8.openshift.api.model.clusterautoscaling.v1beta1;resolution:=optional, + io.fabric8.openshift.api.model.autoscaling.v1;resolution:=optional, + io.fabric8.openshift.api.model.autoscaling.v1beta1;resolution:=optional, io.fabric8.openshift.api.model.runtime;resolution:=optional, io.fabric8.openshift.api.model.console.v1;resolution:=optional, io.fabric8.openshift.api.model.console.v1alpha1;resolution:=optional, io.fabric8.openshift.api.model.monitoring.v1;resolution:=optional, - io.fabric8.openshift.api.model.monitoring.v1alpha1;resolution:=optional, + io.fabric8.openshift.api.model.monitoring.v1beta1;resolution:=optional, io.fabric8.openshift.api.model.operator;resolution:=optional, io.fabric8.openshift.api.model.operator.v1;resolution:=optional, io.fabric8.openshift.api.model.operator.v1alpha1;resolution:=optional, @@ -86,7 +86,7 @@ io.fabric8.openshift.api.model.operatorhub.v1;resolution:=optional, io.fabric8.openshift.api.model.operatorhub.v1alpha1;resolution:=optional, io.fabric8.openshift.api.model.operatorhub.lifecyclemanager.v1;resolution:=optional, - io.fabric8.openshift.api.model.machineconfig.v1;resolution:=optional, + io.fabric8.openshift.api.model.machineconfiguration.v1;resolution:=optional, io.fabric8.openshift.api.model.machine.v1beta1;resolution:=optional, io.fabric8.openshift.api.model.tuned.v1;resolution:=optional, io.fabric8.openshift.api.model.whereabouts.v1alpha1;resolution:=optional, @@ -106,9 +106,9 @@ osgi.extender; - filter:="(osgi.extender=osgi.serviceloader.processor)", + filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; - filter:="(osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource)"; + filter:="(osgi.serviceloader=io.fabric8.kubernetes.api.model.KubernetesResource)"; cardinality:=multiple diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java index a049acf5056..58f5887e1ae 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java @@ -138,16 +138,23 @@ public class SchemaUtils { private static final Set PROTECTED_WORDS = new HashSet<>(Arrays.asList( "abstract", + "class", "continue", "default", "enum", - "class", + "for", "import", "int", + "package", "private", - "for", "return", - "package")); + "short", + "static")); + + private static final Map MAPPED_WORDS = new LinkedHashMap<>(); + static { + MAPPED_WORDS.put("class", "clazz"); + } private final GeneratorSettings settings; @@ -355,15 +362,20 @@ public static String removeDashes(String variable) { public static String sanitizeVariable(String variable) { final String sanitized = uncapitalize(removeDashes(variable)); - return PROTECTED_WORDS.contains(sanitized) ? "_" + sanitized : sanitized; + final String mapped = MAPPED_WORDS.getOrDefault(sanitized, sanitized); + return PROTECTED_WORDS.contains(mapped) ? "_" + mapped : mapped; } public static String getterName(String variable) { - return "get".concat(capitalize(removeDashes(variable))); + final String property = removeDashes(variable); + final String mapped = MAPPED_WORDS.getOrDefault(property, property); + return "get".concat(capitalize(mapped)); } public static String setterName(String variable) { - return "set".concat(capitalize(removeDashes(variable))); + final String property = removeDashes(variable); + final String mapped = MAPPED_WORDS.getOrDefault(property, property); + return "set".concat(capitalize(mapped)); } public Map> extractComponentSchemas() { diff --git a/kubernetes-model-generator/openshift-model-monitoring/Makefile b/kubernetes-model-generator/openshift-model-monitoring/Makefile deleted file mode 100644 index c09a7003874..00000000000 --- a/kubernetes-model-generator/openshift-model-monitoring/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2015 Red Hat, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -SHELL := /bin/bash - -all: build - -build: gobuild - mvn -Pgenerate clean install -DskipTests - -gobuild: - CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -a ./cmd/generate/generate.go - ./generate > src/main/resources/schema/kube-schema.json - ./generate validation > src/main/resources/schema/validation-schema.json diff --git a/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go b/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go deleted file mode 100644 index f5685231d02..00000000000 --- a/kubernetes-model-generator/openshift-model-monitoring/cmd/generate/generate.go +++ /dev/null @@ -1,112 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "bytes" - "encoding/json" - "fmt" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - apimachineryversion "k8s.io/apimachinery/pkg/version" - "log" - "reflect" - "strings" - "time" - prometheus "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" - prometheusv1alpha1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1" - v1apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - - "os" - - "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/pkg/schemagen" -) - -type Schema struct { - Info apimachineryversion.Info - APIGroup metav1.APIGroup - APIGroupList metav1.APIGroupList - BaseKubernetesList metav1.List - ObjectMeta metav1.ObjectMeta - TypeMeta metav1.TypeMeta - Status metav1.Status - Patch metav1.Patch - Time metav1.Time - Alertmanager prometheus.Alertmanager - AlertmanagerList prometheus.AlertmanagerList - PodMonitor prometheus.PodMonitor - PodMonitorList prometheus.PodMonitorList - Prometheus prometheus.Prometheus - PrometheusList prometheus.PrometheusList - PrometheusRule prometheus.PrometheusRule - PrometheusRuleList prometheus.PrometheusRuleList - ServiceMonitor prometheus.ServiceMonitor - ServiceMonitorList prometheus.ServiceMonitorList - AlertmanagerConfig prometheusv1alpha1.AlertmanagerConfig - AlertmanagerConfigList prometheusv1alpha1.AlertmanagerConfigList - Probe prometheus.Probe - ProbeList prometheus.ProbeList - ThanosRuler prometheus.ThanosRuler - ThanosRulerList prometheus.ThanosRulerList -} - -func main() { - packages := []schemagen.PackageDescriptor{ - {"k8s.io/api/core/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_core_", false}, - {"k8s.io/apimachinery/pkg/api/resource", "", "io.fabric8.kubernetes.api.model", "kubernetes_resource_", false}, - {"k8s.io/apimachinery/pkg/util/intstr", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_pkg_util_intstr_", false}, - {"k8s.io/apimachinery/pkg/runtime", "", "io.fabric8.openshift.api.model.runtime", "kubernetes_apimachinery_pkg_runtime_", false}, - {"k8s.io/apimachinery/pkg/version", "", "io.fabric8.kubernetes.api.model.version", "kubernetes_apimachinery_pkg_version_", false}, - {"k8s.io/kubernetes/pkg/util", "", "io.fabric8.kubernetes.api.model", "kubernetes_util_", false}, - {"k8s.io/kubernetes/pkg/api/errors", "", "io.fabric8.kubernetes.api.model", "kubernetes_errors_", false}, - {"k8s.io/kubernetes/pkg/api/unversioned", "", "io.fabric8.kubernetes.api.model", "api_", false}, - {"k8s.io/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false}, - {"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1", "monitoring.coreos.com", "io.fabric8.openshift.api.model.monitoring.v1", "os_monitoring_v1_", true}, - {"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1alpha1", "monitoring.coreos.com", "io.fabric8.openshift.api.model.monitoring.v1alpha1", "os_monitoring_v1alpha1_", true}, - } - - typeMap := map[reflect.Type]reflect.Type{ - reflect.TypeOf(time.Time{}): reflect.TypeOf(""), - reflect.TypeOf(struct{}{}): reflect.TypeOf(""), - } - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(v1apiextensions.JSON{}): "com.fasterxml.jackson.databind.JsonNode", - } - schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, manualTypeMap,"monitoring") - if err != nil { - fmt.Fprintf(os.Stderr, "An error occurred: %v", err) - return - } - - args := os.Args[1:] - if len(args) < 1 || args[0] != "validation" { - schema.Resources = nil - } - - b, err := json.Marshal(&schema) - if err != nil { - log.Fatal(err) - } - result := string(b) - result = strings.Replace(result, "\"additionalProperty\":", "\"additionalProperties\":", -1) - - var out bytes.Buffer - err = json.Indent(&out, []byte(result), "", " ") - if err != nil { - log.Fatal(err) - } - - fmt.Println(out.String()) -} diff --git a/kubernetes-model-generator/openshift-model-monitoring/pom.xml b/kubernetes-model-generator/openshift-model-monitoring/pom.xml index 1f4487d02df..1b04b281a60 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/pom.xml +++ b/kubernetes-model-generator/openshift-model-monitoring/pom.xml @@ -43,37 +43,34 @@ io.fabric8 kubernetes-model-core - - io.fabric8 - kubernetes-model-common - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - false - - - - - - - generate - org.jsonschema2pojo - jsonschema2pojo-maven-plugin + io.fabric8 + openapi-model-generator-maven-plugin + + + + ${openapi.schema.openshift-latest} + + + io.fabric8.kubernetes.api.model + io.fabric8.openshift.api.model.monitoring + + + ^com\.coreos\.monitoring\.v1\..*$ + ^com\.coreos\.monitoring\.v1beta1\..*$ + + + io.fabric8.kubernetes.api.model.LabelSelectorRequirement + + + diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java deleted file mode 100644 index 9ae3b41fcaa..00000000000 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ /dev/null @@ -1,360 +0,0 @@ - -package io.fabric8.kubernetes.api.model; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import io.fabric8.kubernetes.api.model.version.Info; -import io.fabric8.openshift.api.model.monitoring.v1.Alertmanager; -import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerList; -import io.fabric8.openshift.api.model.monitoring.v1.PodMonitor; -import io.fabric8.openshift.api.model.monitoring.v1.PodMonitorList; -import io.fabric8.openshift.api.model.monitoring.v1.Probe; -import io.fabric8.openshift.api.model.monitoring.v1.ProbeList; -import io.fabric8.openshift.api.model.monitoring.v1.Prometheus; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusList; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleList; -import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitor; -import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList; -import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler; -import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList; - -@Generated("jsonschema2pojo") -public class KubeSchema { - - private APIGroup aPIGroup; - private APIGroupList aPIGroupList; - private Alertmanager alertmanager; - private AlertmanagerConfig alertmanagerConfig; - private AlertmanagerConfigList alertmanagerConfigList; - private AlertmanagerList alertmanagerList; - private KubernetesList baseKubernetesList; - private Info info; - private ObjectMeta objectMeta; - private Patch patch; - private PodMonitor podMonitor; - private PodMonitorList podMonitorList; - private Probe probe; - private ProbeList probeList; - private Prometheus prometheus; - private PrometheusList prometheusList; - private PrometheusRule prometheusRule; - private PrometheusRuleList prometheusRuleList; - private ServiceMonitor serviceMonitor; - private ServiceMonitorList serviceMonitorList; - private Status status; - private ThanosRuler thanosRuler; - private ThanosRulerList thanosRulerList; - private String time; - private TypeMeta typeMeta; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public KubeSchema() { - } - - public KubeSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, Alertmanager alertmanager, AlertmanagerConfig alertmanagerConfig, AlertmanagerConfigList alertmanagerConfigList, AlertmanagerList alertmanagerList, KubernetesList baseKubernetesList, Info info, ObjectMeta objectMeta, Patch patch, PodMonitor podMonitor, PodMonitorList podMonitorList, Probe probe, ProbeList probeList, Prometheus prometheus, PrometheusList prometheusList, PrometheusRule prometheusRule, PrometheusRuleList prometheusRuleList, ServiceMonitor serviceMonitor, ServiceMonitorList serviceMonitorList, Status status, ThanosRuler thanosRuler, ThanosRulerList thanosRulerList, String time, TypeMeta typeMeta) { - super(); - this.aPIGroup = aPIGroup; - this.aPIGroupList = aPIGroupList; - this.alertmanager = alertmanager; - this.alertmanagerConfig = alertmanagerConfig; - this.alertmanagerConfigList = alertmanagerConfigList; - this.alertmanagerList = alertmanagerList; - this.baseKubernetesList = baseKubernetesList; - this.info = info; - this.objectMeta = objectMeta; - this.patch = patch; - this.podMonitor = podMonitor; - this.podMonitorList = podMonitorList; - this.probe = probe; - this.probeList = probeList; - this.prometheus = prometheus; - this.prometheusList = prometheusList; - this.prometheusRule = prometheusRule; - this.prometheusRuleList = prometheusRuleList; - this.serviceMonitor = serviceMonitor; - this.serviceMonitorList = serviceMonitorList; - this.status = status; - this.thanosRuler = thanosRuler; - this.thanosRulerList = thanosRulerList; - this.time = time; - this.typeMeta = typeMeta; - } - - @JsonProperty("APIGroup") - public APIGroup getAPIGroup() { - return aPIGroup; - } - - @JsonProperty("APIGroup") - public void setAPIGroup(APIGroup aPIGroup) { - this.aPIGroup = aPIGroup; - } - - @JsonProperty("APIGroupList") - public APIGroupList getAPIGroupList() { - return aPIGroupList; - } - - @JsonProperty("APIGroupList") - public void setAPIGroupList(APIGroupList aPIGroupList) { - this.aPIGroupList = aPIGroupList; - } - - @JsonProperty("Alertmanager") - public Alertmanager getAlertmanager() { - return alertmanager; - } - - @JsonProperty("Alertmanager") - public void setAlertmanager(Alertmanager alertmanager) { - this.alertmanager = alertmanager; - } - - @JsonProperty("AlertmanagerConfig") - public AlertmanagerConfig getAlertmanagerConfig() { - return alertmanagerConfig; - } - - @JsonProperty("AlertmanagerConfig") - public void setAlertmanagerConfig(AlertmanagerConfig alertmanagerConfig) { - this.alertmanagerConfig = alertmanagerConfig; - } - - @JsonProperty("AlertmanagerConfigList") - public AlertmanagerConfigList getAlertmanagerConfigList() { - return alertmanagerConfigList; - } - - @JsonProperty("AlertmanagerConfigList") - public void setAlertmanagerConfigList(AlertmanagerConfigList alertmanagerConfigList) { - this.alertmanagerConfigList = alertmanagerConfigList; - } - - @JsonProperty("AlertmanagerList") - public AlertmanagerList getAlertmanagerList() { - return alertmanagerList; - } - - @JsonProperty("AlertmanagerList") - public void setAlertmanagerList(AlertmanagerList alertmanagerList) { - this.alertmanagerList = alertmanagerList; - } - - @JsonProperty("BaseKubernetesList") - public KubernetesList getBaseKubernetesList() { - return baseKubernetesList; - } - - @JsonProperty("BaseKubernetesList") - public void setBaseKubernetesList(KubernetesList baseKubernetesList) { - this.baseKubernetesList = baseKubernetesList; - } - - @JsonProperty("Info") - public Info getInfo() { - return info; - } - - @JsonProperty("Info") - public void setInfo(Info info) { - this.info = info; - } - - @JsonProperty("ObjectMeta") - public ObjectMeta getObjectMeta() { - return objectMeta; - } - - @JsonProperty("ObjectMeta") - public void setObjectMeta(ObjectMeta objectMeta) { - this.objectMeta = objectMeta; - } - - @JsonProperty("Patch") - public Patch getPatch() { - return patch; - } - - @JsonProperty("Patch") - public void setPatch(Patch patch) { - this.patch = patch; - } - - @JsonProperty("PodMonitor") - public PodMonitor getPodMonitor() { - return podMonitor; - } - - @JsonProperty("PodMonitor") - public void setPodMonitor(PodMonitor podMonitor) { - this.podMonitor = podMonitor; - } - - @JsonProperty("PodMonitorList") - public PodMonitorList getPodMonitorList() { - return podMonitorList; - } - - @JsonProperty("PodMonitorList") - public void setPodMonitorList(PodMonitorList podMonitorList) { - this.podMonitorList = podMonitorList; - } - - @JsonProperty("Probe") - public Probe getProbe() { - return probe; - } - - @JsonProperty("Probe") - public void setProbe(Probe probe) { - this.probe = probe; - } - - @JsonProperty("ProbeList") - public ProbeList getProbeList() { - return probeList; - } - - @JsonProperty("ProbeList") - public void setProbeList(ProbeList probeList) { - this.probeList = probeList; - } - - @JsonProperty("Prometheus") - public Prometheus getPrometheus() { - return prometheus; - } - - @JsonProperty("Prometheus") - public void setPrometheus(Prometheus prometheus) { - this.prometheus = prometheus; - } - - @JsonProperty("PrometheusList") - public PrometheusList getPrometheusList() { - return prometheusList; - } - - @JsonProperty("PrometheusList") - public void setPrometheusList(PrometheusList prometheusList) { - this.prometheusList = prometheusList; - } - - @JsonProperty("PrometheusRule") - public PrometheusRule getPrometheusRule() { - return prometheusRule; - } - - @JsonProperty("PrometheusRule") - public void setPrometheusRule(PrometheusRule prometheusRule) { - this.prometheusRule = prometheusRule; - } - - @JsonProperty("PrometheusRuleList") - public PrometheusRuleList getPrometheusRuleList() { - return prometheusRuleList; - } - - @JsonProperty("PrometheusRuleList") - public void setPrometheusRuleList(PrometheusRuleList prometheusRuleList) { - this.prometheusRuleList = prometheusRuleList; - } - - @JsonProperty("ServiceMonitor") - public ServiceMonitor getServiceMonitor() { - return serviceMonitor; - } - - @JsonProperty("ServiceMonitor") - public void setServiceMonitor(ServiceMonitor serviceMonitor) { - this.serviceMonitor = serviceMonitor; - } - - @JsonProperty("ServiceMonitorList") - public ServiceMonitorList getServiceMonitorList() { - return serviceMonitorList; - } - - @JsonProperty("ServiceMonitorList") - public void setServiceMonitorList(ServiceMonitorList serviceMonitorList) { - this.serviceMonitorList = serviceMonitorList; - } - - @JsonProperty("Status") - public Status getStatus() { - return status; - } - - @JsonProperty("Status") - public void setStatus(Status status) { - this.status = status; - } - - @JsonProperty("ThanosRuler") - public ThanosRuler getThanosRuler() { - return thanosRuler; - } - - @JsonProperty("ThanosRuler") - public void setThanosRuler(ThanosRuler thanosRuler) { - this.thanosRuler = thanosRuler; - } - - @JsonProperty("ThanosRulerList") - public ThanosRulerList getThanosRulerList() { - return thanosRulerList; - } - - @JsonProperty("ThanosRulerList") - public void setThanosRulerList(ThanosRulerList thanosRulerList) { - this.thanosRulerList = thanosRulerList; - } - - @JsonProperty("Time") - public String getTime() { - return time; - } - - @JsonProperty("Time") - public void setTime(String time) { - this.time = time; - } - - @JsonProperty("TypeMeta") - public TypeMeta getTypeMeta() { - return typeMeta; - } - - @JsonProperty("TypeMeta") - public void setTypeMeta(TypeMeta typeMeta) { - this.typeMeta = typeMeta; - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java deleted file mode 100644 index f999d49e061..00000000000 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ /dev/null @@ -1,360 +0,0 @@ - -package io.fabric8.kubernetes.api.model; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import io.fabric8.kubernetes.api.model.version.Info; -import io.fabric8.openshift.api.model.monitoring.v1.Alertmanager; -import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerList; -import io.fabric8.openshift.api.model.monitoring.v1.PodMonitor; -import io.fabric8.openshift.api.model.monitoring.v1.PodMonitorList; -import io.fabric8.openshift.api.model.monitoring.v1.Probe; -import io.fabric8.openshift.api.model.monitoring.v1.ProbeList; -import io.fabric8.openshift.api.model.monitoring.v1.Prometheus; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusList; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRule; -import io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleList; -import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitor; -import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList; -import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler; -import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList; - -@Generated("jsonschema2pojo") -public class ValidationSchema { - - private APIGroup aPIGroup; - private APIGroupList aPIGroupList; - private Alertmanager alertmanager; - private AlertmanagerConfig alertmanagerConfig; - private AlertmanagerConfigList alertmanagerConfigList; - private AlertmanagerList alertmanagerList; - private KubernetesList baseKubernetesList; - private Info info; - private ObjectMeta objectMeta; - private Patch patch; - private PodMonitor podMonitor; - private PodMonitorList podMonitorList; - private Probe probe; - private ProbeList probeList; - private Prometheus prometheus; - private PrometheusList prometheusList; - private PrometheusRule prometheusRule; - private PrometheusRuleList prometheusRuleList; - private ServiceMonitor serviceMonitor; - private ServiceMonitorList serviceMonitorList; - private Status status; - private ThanosRuler thanosRuler; - private ThanosRulerList thanosRulerList; - private String time; - private TypeMeta typeMeta; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValidationSchema() { - } - - public ValidationSchema(APIGroup aPIGroup, APIGroupList aPIGroupList, Alertmanager alertmanager, AlertmanagerConfig alertmanagerConfig, AlertmanagerConfigList alertmanagerConfigList, AlertmanagerList alertmanagerList, KubernetesList baseKubernetesList, Info info, ObjectMeta objectMeta, Patch patch, PodMonitor podMonitor, PodMonitorList podMonitorList, Probe probe, ProbeList probeList, Prometheus prometheus, PrometheusList prometheusList, PrometheusRule prometheusRule, PrometheusRuleList prometheusRuleList, ServiceMonitor serviceMonitor, ServiceMonitorList serviceMonitorList, Status status, ThanosRuler thanosRuler, ThanosRulerList thanosRulerList, String time, TypeMeta typeMeta) { - super(); - this.aPIGroup = aPIGroup; - this.aPIGroupList = aPIGroupList; - this.alertmanager = alertmanager; - this.alertmanagerConfig = alertmanagerConfig; - this.alertmanagerConfigList = alertmanagerConfigList; - this.alertmanagerList = alertmanagerList; - this.baseKubernetesList = baseKubernetesList; - this.info = info; - this.objectMeta = objectMeta; - this.patch = patch; - this.podMonitor = podMonitor; - this.podMonitorList = podMonitorList; - this.probe = probe; - this.probeList = probeList; - this.prometheus = prometheus; - this.prometheusList = prometheusList; - this.prometheusRule = prometheusRule; - this.prometheusRuleList = prometheusRuleList; - this.serviceMonitor = serviceMonitor; - this.serviceMonitorList = serviceMonitorList; - this.status = status; - this.thanosRuler = thanosRuler; - this.thanosRulerList = thanosRulerList; - this.time = time; - this.typeMeta = typeMeta; - } - - @JsonProperty("APIGroup") - public APIGroup getAPIGroup() { - return aPIGroup; - } - - @JsonProperty("APIGroup") - public void setAPIGroup(APIGroup aPIGroup) { - this.aPIGroup = aPIGroup; - } - - @JsonProperty("APIGroupList") - public APIGroupList getAPIGroupList() { - return aPIGroupList; - } - - @JsonProperty("APIGroupList") - public void setAPIGroupList(APIGroupList aPIGroupList) { - this.aPIGroupList = aPIGroupList; - } - - @JsonProperty("Alertmanager") - public Alertmanager getAlertmanager() { - return alertmanager; - } - - @JsonProperty("Alertmanager") - public void setAlertmanager(Alertmanager alertmanager) { - this.alertmanager = alertmanager; - } - - @JsonProperty("AlertmanagerConfig") - public AlertmanagerConfig getAlertmanagerConfig() { - return alertmanagerConfig; - } - - @JsonProperty("AlertmanagerConfig") - public void setAlertmanagerConfig(AlertmanagerConfig alertmanagerConfig) { - this.alertmanagerConfig = alertmanagerConfig; - } - - @JsonProperty("AlertmanagerConfigList") - public AlertmanagerConfigList getAlertmanagerConfigList() { - return alertmanagerConfigList; - } - - @JsonProperty("AlertmanagerConfigList") - public void setAlertmanagerConfigList(AlertmanagerConfigList alertmanagerConfigList) { - this.alertmanagerConfigList = alertmanagerConfigList; - } - - @JsonProperty("AlertmanagerList") - public AlertmanagerList getAlertmanagerList() { - return alertmanagerList; - } - - @JsonProperty("AlertmanagerList") - public void setAlertmanagerList(AlertmanagerList alertmanagerList) { - this.alertmanagerList = alertmanagerList; - } - - @JsonProperty("BaseKubernetesList") - public KubernetesList getBaseKubernetesList() { - return baseKubernetesList; - } - - @JsonProperty("BaseKubernetesList") - public void setBaseKubernetesList(KubernetesList baseKubernetesList) { - this.baseKubernetesList = baseKubernetesList; - } - - @JsonProperty("Info") - public Info getInfo() { - return info; - } - - @JsonProperty("Info") - public void setInfo(Info info) { - this.info = info; - } - - @JsonProperty("ObjectMeta") - public ObjectMeta getObjectMeta() { - return objectMeta; - } - - @JsonProperty("ObjectMeta") - public void setObjectMeta(ObjectMeta objectMeta) { - this.objectMeta = objectMeta; - } - - @JsonProperty("Patch") - public Patch getPatch() { - return patch; - } - - @JsonProperty("Patch") - public void setPatch(Patch patch) { - this.patch = patch; - } - - @JsonProperty("PodMonitor") - public PodMonitor getPodMonitor() { - return podMonitor; - } - - @JsonProperty("PodMonitor") - public void setPodMonitor(PodMonitor podMonitor) { - this.podMonitor = podMonitor; - } - - @JsonProperty("PodMonitorList") - public PodMonitorList getPodMonitorList() { - return podMonitorList; - } - - @JsonProperty("PodMonitorList") - public void setPodMonitorList(PodMonitorList podMonitorList) { - this.podMonitorList = podMonitorList; - } - - @JsonProperty("Probe") - public Probe getProbe() { - return probe; - } - - @JsonProperty("Probe") - public void setProbe(Probe probe) { - this.probe = probe; - } - - @JsonProperty("ProbeList") - public ProbeList getProbeList() { - return probeList; - } - - @JsonProperty("ProbeList") - public void setProbeList(ProbeList probeList) { - this.probeList = probeList; - } - - @JsonProperty("Prometheus") - public Prometheus getPrometheus() { - return prometheus; - } - - @JsonProperty("Prometheus") - public void setPrometheus(Prometheus prometheus) { - this.prometheus = prometheus; - } - - @JsonProperty("PrometheusList") - public PrometheusList getPrometheusList() { - return prometheusList; - } - - @JsonProperty("PrometheusList") - public void setPrometheusList(PrometheusList prometheusList) { - this.prometheusList = prometheusList; - } - - @JsonProperty("PrometheusRule") - public PrometheusRule getPrometheusRule() { - return prometheusRule; - } - - @JsonProperty("PrometheusRule") - public void setPrometheusRule(PrometheusRule prometheusRule) { - this.prometheusRule = prometheusRule; - } - - @JsonProperty("PrometheusRuleList") - public PrometheusRuleList getPrometheusRuleList() { - return prometheusRuleList; - } - - @JsonProperty("PrometheusRuleList") - public void setPrometheusRuleList(PrometheusRuleList prometheusRuleList) { - this.prometheusRuleList = prometheusRuleList; - } - - @JsonProperty("ServiceMonitor") - public ServiceMonitor getServiceMonitor() { - return serviceMonitor; - } - - @JsonProperty("ServiceMonitor") - public void setServiceMonitor(ServiceMonitor serviceMonitor) { - this.serviceMonitor = serviceMonitor; - } - - @JsonProperty("ServiceMonitorList") - public ServiceMonitorList getServiceMonitorList() { - return serviceMonitorList; - } - - @JsonProperty("ServiceMonitorList") - public void setServiceMonitorList(ServiceMonitorList serviceMonitorList) { - this.serviceMonitorList = serviceMonitorList; - } - - @JsonProperty("Status") - public Status getStatus() { - return status; - } - - @JsonProperty("Status") - public void setStatus(Status status) { - this.status = status; - } - - @JsonProperty("ThanosRuler") - public ThanosRuler getThanosRuler() { - return thanosRuler; - } - - @JsonProperty("ThanosRuler") - public void setThanosRuler(ThanosRuler thanosRuler) { - this.thanosRuler = thanosRuler; - } - - @JsonProperty("ThanosRulerList") - public ThanosRulerList getThanosRulerList() { - return thanosRulerList; - } - - @JsonProperty("ThanosRulerList") - public void setThanosRulerList(ThanosRulerList thanosRulerList) { - this.thanosRulerList = thanosRulerList; - } - - @JsonProperty("Time") - public String getTime() { - return time; - } - - @JsonProperty("Time") - public void setTime(String time) { - this.time = time; - } - - @JsonProperty("TypeMeta") - public TypeMeta getTypeMeta() { - return typeMeta; - } - - @JsonProperty("TypeMeta") - public void setTypeMeta(TypeMeta typeMeta) { - this.typeMeta = typeMeta; - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java index 272ccfe5594..49dbc4c31e3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Alertmanager.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -48,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -82,7 +83,7 @@ public class Alertmanager implements Editable , HasMetadata @JsonProperty("kind") private String kind = "Alertmanager"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private AlertmanagerSpec spec; @JsonProperty("status") @@ -97,7 +98,7 @@ public class Alertmanager implements Editable , HasMetadata public Alertmanager() { } - public Alertmanager(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, AlertmanagerSpec spec, AlertmanagerStatus status) { + public Alertmanager(String apiVersion, String kind, ObjectMeta metadata, AlertmanagerSpec spec, AlertmanagerStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -147,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java index 2a94a98bd4c..410eec90cbc 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpec.java @@ -14,18 +14,16 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Affinity; +import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodSecurityContext; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Toleration; -import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -45,11 +43,13 @@ "baseImage", "clusterAdvertiseAddress", "clusterGossipInterval", + "clusterLabel", "clusterPeerTimeout", "clusterPushpullInterval", "configMaps", "configSecret", "containers", + "enableFeatures", "externalUrl", "forceEnableClusterMode", "hostAliases", @@ -91,13 +91,13 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Container.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), + @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") @@ -108,15 +108,15 @@ public class AlertmanagerSpec implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private List additionalPeers = new ArrayList<>(); @JsonProperty("affinity") - private Affinity affinity; + private AlertmanagerSpecAffinity affinity; @JsonProperty("alertmanagerConfigMatcherStrategy") - private AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy; + private AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy; @JsonProperty("alertmanagerConfigNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector; + private AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector; @JsonProperty("alertmanagerConfigSelector") - private io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector; + private AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector; @JsonProperty("alertmanagerConfiguration") - private AlertmanagerConfiguration alertmanagerConfiguration; + private AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration; @JsonProperty("automountServiceAccountToken") private Boolean automountServiceAccountToken; @JsonProperty("baseImage") @@ -125,6 +125,8 @@ public class AlertmanagerSpec implements Editable , Kub private String clusterAdvertiseAddress; @JsonProperty("clusterGossipInterval") private String clusterGossipInterval; + @JsonProperty("clusterLabel") + private String clusterLabel; @JsonProperty("clusterPeerTimeout") private String clusterPeerTimeout; @JsonProperty("clusterPushpullInterval") @@ -136,24 +138,27 @@ public class AlertmanagerSpec implements Editable , Kub private String configSecret; @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containers = new ArrayList<>(); + private List containers = new ArrayList<>(); + @JsonProperty("enableFeatures") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List enableFeatures = new ArrayList<>(); @JsonProperty("externalUrl") private String externalUrl; @JsonProperty("forceEnableClusterMode") private Boolean forceEnableClusterMode; @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hostAliases = new ArrayList<>(); + private List hostAliases = new ArrayList<>(); @JsonProperty("image") private String image; @JsonProperty("imagePullPolicy") private String imagePullPolicy; @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); + private List imagePullSecrets = new ArrayList<>(); @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List initContainers = new ArrayList<>(); + private List initContainers = new ArrayList<>(); @JsonProperty("listenLocal") private Boolean listenLocal; @JsonProperty("logFormat") @@ -168,7 +173,7 @@ public class AlertmanagerSpec implements Editable , Kub @JsonProperty("paused") private Boolean paused; @JsonProperty("podMetadata") - private EmbeddedObjectMetadata podMetadata; + private AlertmanagerSpecPodMetadata podMetadata; @JsonProperty("portName") private String portName; @JsonProperty("priorityClassName") @@ -176,7 +181,7 @@ public class AlertmanagerSpec implements Editable , Kub @JsonProperty("replicas") private Integer replicas; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private AlertmanagerSpecResources resources; @JsonProperty("retention") private String retention; @JsonProperty("routePrefix") @@ -185,31 +190,31 @@ public class AlertmanagerSpec implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private List secrets = new ArrayList<>(); @JsonProperty("securityContext") - private PodSecurityContext securityContext; + private AlertmanagerSpecSecurityContext securityContext; @JsonProperty("serviceAccountName") private String serviceAccountName; @JsonProperty("sha") private String sha; @JsonProperty("storage") - private StorageSpec storage; + private AlertmanagerSpecStorage storage; @JsonProperty("tag") private String tag; @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List topologySpreadConstraints = new ArrayList<>(); + private List topologySpreadConstraints = new ArrayList<>(); @JsonProperty("version") private String version; @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("web") - private AlertmanagerWebSpec web; + private AlertmanagerSpecWeb web; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -220,7 +225,7 @@ public class AlertmanagerSpec implements Editable , Kub public AlertmanagerSpec() { } - public AlertmanagerSpec(List additionalPeers, Affinity affinity, AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector, AlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterPeerTimeout, String clusterPushpullInterval, List configMaps, String configSecret, List containers, String externalUrl, Boolean forceEnableClusterMode, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, Boolean paused, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String routePrefix, List secrets, PodSecurityContext securityContext, String serviceAccountName, String sha, StorageSpec storage, String tag, List tolerations, List topologySpreadConstraints, String version, List volumeMounts, List volumes, AlertmanagerWebSpec web) { + public AlertmanagerSpec(List additionalPeers, AlertmanagerSpecAffinity affinity, AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy, AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector, AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector, AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration, Boolean automountServiceAccountToken, String baseImage, String clusterAdvertiseAddress, String clusterGossipInterval, String clusterLabel, String clusterPeerTimeout, String clusterPushpullInterval, List configMaps, String configSecret, List containers, List enableFeatures, String externalUrl, Boolean forceEnableClusterMode, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, Boolean paused, AlertmanagerSpecPodMetadata podMetadata, String portName, String priorityClassName, Integer replicas, AlertmanagerSpecResources resources, String retention, String routePrefix, List secrets, AlertmanagerSpecSecurityContext securityContext, String serviceAccountName, String sha, AlertmanagerSpecStorage storage, String tag, List tolerations, List topologySpreadConstraints, String version, List volumeMounts, List volumes, AlertmanagerSpecWeb web) { super(); this.additionalPeers = additionalPeers; this.affinity = affinity; @@ -232,11 +237,13 @@ public AlertmanagerSpec(List additionalPeers, Affinity affinity, Alertma this.baseImage = baseImage; this.clusterAdvertiseAddress = clusterAdvertiseAddress; this.clusterGossipInterval = clusterGossipInterval; + this.clusterLabel = clusterLabel; this.clusterPeerTimeout = clusterPeerTimeout; this.clusterPushpullInterval = clusterPushpullInterval; this.configMaps = configMaps; this.configSecret = configSecret; this.containers = containers; + this.enableFeatures = enableFeatures; this.externalUrl = externalUrl; this.forceEnableClusterMode = forceEnableClusterMode; this.hostAliases = hostAliases; @@ -283,52 +290,52 @@ public void setAdditionalPeers(List additionalPeers) { } @JsonProperty("affinity") - public Affinity getAffinity() { + public AlertmanagerSpecAffinity getAffinity() { return affinity; } @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { + public void setAffinity(AlertmanagerSpecAffinity affinity) { this.affinity = affinity; } @JsonProperty("alertmanagerConfigMatcherStrategy") - public AlertmanagerConfigMatcherStrategy getAlertmanagerConfigMatcherStrategy() { + public AlertmanagerSpecAlertmanagerConfigMatcherStrategy getAlertmanagerConfigMatcherStrategy() { return alertmanagerConfigMatcherStrategy; } @JsonProperty("alertmanagerConfigMatcherStrategy") - public void setAlertmanagerConfigMatcherStrategy(AlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy) { + public void setAlertmanagerConfigMatcherStrategy(AlertmanagerSpecAlertmanagerConfigMatcherStrategy alertmanagerConfigMatcherStrategy) { this.alertmanagerConfigMatcherStrategy = alertmanagerConfigMatcherStrategy; } @JsonProperty("alertmanagerConfigNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigNamespaceSelector() { + public AlertmanagerSpecAlertmanagerConfigNamespaceSelector getAlertmanagerConfigNamespaceSelector() { return alertmanagerConfigNamespaceSelector; } @JsonProperty("alertmanagerConfigNamespaceSelector") - public void setAlertmanagerConfigNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigNamespaceSelector) { + public void setAlertmanagerConfigNamespaceSelector(AlertmanagerSpecAlertmanagerConfigNamespaceSelector alertmanagerConfigNamespaceSelector) { this.alertmanagerConfigNamespaceSelector = alertmanagerConfigNamespaceSelector; } @JsonProperty("alertmanagerConfigSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getAlertmanagerConfigSelector() { + public AlertmanagerSpecAlertmanagerConfigSelector getAlertmanagerConfigSelector() { return alertmanagerConfigSelector; } @JsonProperty("alertmanagerConfigSelector") - public void setAlertmanagerConfigSelector(io.fabric8.kubernetes.api.model.LabelSelector alertmanagerConfigSelector) { + public void setAlertmanagerConfigSelector(AlertmanagerSpecAlertmanagerConfigSelector alertmanagerConfigSelector) { this.alertmanagerConfigSelector = alertmanagerConfigSelector; } @JsonProperty("alertmanagerConfiguration") - public AlertmanagerConfiguration getAlertmanagerConfiguration() { + public AlertmanagerSpecAlertmanagerConfiguration getAlertmanagerConfiguration() { return alertmanagerConfiguration; } @JsonProperty("alertmanagerConfiguration") - public void setAlertmanagerConfiguration(AlertmanagerConfiguration alertmanagerConfiguration) { + public void setAlertmanagerConfiguration(AlertmanagerSpecAlertmanagerConfiguration alertmanagerConfiguration) { this.alertmanagerConfiguration = alertmanagerConfiguration; } @@ -372,6 +379,16 @@ public void setClusterGossipInterval(String clusterGossipInterval) { this.clusterGossipInterval = clusterGossipInterval; } + @JsonProperty("clusterLabel") + public String getClusterLabel() { + return clusterLabel; + } + + @JsonProperty("clusterLabel") + public void setClusterLabel(String clusterLabel) { + this.clusterLabel = clusterLabel; + } + @JsonProperty("clusterPeerTimeout") public String getClusterPeerTimeout() { return clusterPeerTimeout; @@ -415,15 +432,26 @@ public void setConfigSecret(String configSecret) { @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainers() { + public List getContainers() { return containers; } @JsonProperty("containers") - public void setContainers(List containers) { + public void setContainers(List containers) { this.containers = containers; } + @JsonProperty("enableFeatures") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnableFeatures() { + return enableFeatures; + } + + @JsonProperty("enableFeatures") + public void setEnableFeatures(List enableFeatures) { + this.enableFeatures = enableFeatures; + } + @JsonProperty("externalUrl") public String getExternalUrl() { return externalUrl; @@ -446,12 +474,12 @@ public void setForceEnableClusterMode(Boolean forceEnableClusterMode) { @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHostAliases() { + public List getHostAliases() { return hostAliases; } @JsonProperty("hostAliases") - public void setHostAliases(List hostAliases) { + public void setHostAliases(List hostAliases) { this.hostAliases = hostAliases; } @@ -477,23 +505,23 @@ public void setImagePullPolicy(String imagePullPolicy) { @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { + public List getImagePullSecrets() { return imagePullSecrets; } @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { + public void setImagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; } @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInitContainers() { + public List getInitContainers() { return initContainers; } @JsonProperty("initContainers") - public void setInitContainers(List initContainers) { + public void setInitContainers(List initContainers) { this.initContainers = initContainers; } @@ -559,12 +587,12 @@ public void setPaused(Boolean paused) { } @JsonProperty("podMetadata") - public EmbeddedObjectMetadata getPodMetadata() { + public AlertmanagerSpecPodMetadata getPodMetadata() { return podMetadata; } @JsonProperty("podMetadata") - public void setPodMetadata(EmbeddedObjectMetadata podMetadata) { + public void setPodMetadata(AlertmanagerSpecPodMetadata podMetadata) { this.podMetadata = podMetadata; } @@ -599,12 +627,12 @@ public void setReplicas(Integer replicas) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public AlertmanagerSpecResources getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(AlertmanagerSpecResources resources) { this.resources = resources; } @@ -640,12 +668,12 @@ public void setSecrets(List secrets) { } @JsonProperty("securityContext") - public PodSecurityContext getSecurityContext() { + public AlertmanagerSpecSecurityContext getSecurityContext() { return securityContext; } @JsonProperty("securityContext") - public void setSecurityContext(PodSecurityContext securityContext) { + public void setSecurityContext(AlertmanagerSpecSecurityContext securityContext) { this.securityContext = securityContext; } @@ -670,12 +698,12 @@ public void setSha(String sha) { } @JsonProperty("storage") - public StorageSpec getStorage() { + public AlertmanagerSpecStorage getStorage() { return storage; } @JsonProperty("storage") - public void setStorage(StorageSpec storage) { + public void setStorage(AlertmanagerSpecStorage storage) { this.storage = storage; } @@ -691,23 +719,23 @@ public void setTag(String tag) { @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { + public List getTolerations() { return tolerations; } @JsonProperty("tolerations") - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTopologySpreadConstraints() { + public List getTopologySpreadConstraints() { return topologySpreadConstraints; } @JsonProperty("topologySpreadConstraints") - public void setTopologySpreadConstraints(List topologySpreadConstraints) { + public void setTopologySpreadConstraints(List topologySpreadConstraints) { this.topologySpreadConstraints = topologySpreadConstraints; } @@ -723,33 +751,33 @@ public void setVersion(String version) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @JsonProperty("web") - public AlertmanagerWebSpec getWeb() { + public AlertmanagerSpecWeb getWeb() { return web; } @JsonProperty("web") - public void setWeb(AlertmanagerWebSpec web) { + public void setWeb(AlertmanagerSpecWeb web) { this.web = web; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java new file mode 100644 index 00000000000..df389cf7606 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCACredentials() { + } + + public AlertmanagerSpecACGHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCACredentialsBuilder edit() { + return new AlertmanagerSpecACGHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java new file mode 100644 index 00000000000..3366e4ae474 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerSpecACGHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCAuthorization() { + } + + public AlertmanagerSpecACGHCAuthorization(AlertmanagerSpecACGHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerSpecACGHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerSpecACGHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecACGHCAuthorizationBuilder edit() { + return new AlertmanagerSpecACGHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java new file mode 100644 index 00000000000..6de79a82dec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerSpecACGHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerSpecACGHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCBasicAuth() { + } + + public AlertmanagerSpecACGHCBasicAuth(AlertmanagerSpecACGHCBasicAuthPassword password, AlertmanagerSpecACGHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerSpecACGHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerSpecACGHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerSpecACGHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerSpecACGHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthBuilder edit() { + return new AlertmanagerSpecACGHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java new file mode 100644 index 00000000000..02cd085732e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCBasicAuthPassword() { + } + + public AlertmanagerSpecACGHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerSpecACGHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java new file mode 100644 index 00000000000..73b49f1e03c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCBasicAuthUsername() { + } + + public AlertmanagerSpecACGHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerSpecACGHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java new file mode 100644 index 00000000000..19915a621b0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCBearerTokenSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCBearerTokenSecret() { + } + + public AlertmanagerSpecACGHCBearerTokenSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCBearerTokenSecretBuilder edit() { + return new AlertmanagerSpecACGHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java new file mode 100644 index 00000000000..0d8589c2b1c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCOCIConfigMap() { + } + + public AlertmanagerSpecACGHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCOCIConfigMapBuilder edit() { + return new AlertmanagerSpecACGHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java new file mode 100644 index 00000000000..14bd9812fc5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCOCISecret() { + } + + public AlertmanagerSpecACGHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCOCISecretBuilder edit() { + return new AlertmanagerSpecACGHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java new file mode 100644 index 00000000000..2c3d456aad7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerSpecACGHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerSpecACGHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCOClientId() { + } + + public AlertmanagerSpecACGHCOClientId(AlertmanagerSpecACGHCOCIConfigMap configMap, AlertmanagerSpecACGHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerSpecACGHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecACGHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerSpecACGHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecACGHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerSpecACGHCOClientIdBuilder edit() { + return new AlertmanagerSpecACGHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java new file mode 100644 index 00000000000..ba2b9789921 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCOClientSecret() { + } + + public AlertmanagerSpecACGHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCOClientSecretBuilder edit() { + return new AlertmanagerSpecACGHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java new file mode 100644 index 00000000000..bdc13100b5e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerSpecACGHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerSpecACGHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCOauth2() { + } + + public AlertmanagerSpecACGHCOauth2(AlertmanagerSpecACGHCOClientId clientId, AlertmanagerSpecACGHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerSpecACGHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerSpecACGHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerSpecACGHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerSpecACGHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerSpecACGHCOauth2Builder edit() { + return new AlertmanagerSpecACGHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java new file mode 100644 index 00000000000..d3a12045bba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCConfigMap() { + } + + public AlertmanagerSpecACGHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCConfigMapBuilder edit() { + return new AlertmanagerSpecACGHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java new file mode 100644 index 00000000000..d57b724bf3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCConfigMap_1() { + } + + public AlertmanagerSpecACGHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCConfigMap_1Builder edit() { + return new AlertmanagerSpecACGHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java new file mode 100644 index 00000000000..6a42495ae0d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCSecret() { + } + + public AlertmanagerSpecACGHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCSecretBuilder edit() { + return new AlertmanagerSpecACGHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java new file mode 100644 index 00000000000..3e1109b2b55 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCSecret_1() { + } + + public AlertmanagerSpecACGHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCSecret_1Builder edit() { + return new AlertmanagerSpecACGHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java new file mode 100644 index 00000000000..b4675cfd311 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerSpecACGHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerSpecACGHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCa() { + } + + public AlertmanagerSpecACGHCTCCa(AlertmanagerSpecACGHCTCCConfigMap configMap, AlertmanagerSpecACGHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerSpecACGHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecACGHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerSpecACGHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecACGHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCaBuilder edit() { + return new AlertmanagerSpecACGHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java new file mode 100644 index 00000000000..ba340578204 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerSpecACGHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerSpecACGHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCCert() { + } + + public AlertmanagerSpecACGHCTCCert(AlertmanagerSpecACGHCTCCConfigMap_1 configMap, AlertmanagerSpecACGHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerSpecACGHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecACGHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerSpecACGHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecACGHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCertBuilder edit() { + return new AlertmanagerSpecACGHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java new file mode 100644 index 00000000000..6405acb0bb5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGHCTCKeySecret() { + } + + public AlertmanagerSpecACGHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCKeySecretBuilder edit() { + return new AlertmanagerSpecACGHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java index 34a2e15f86c..365b6ddd789 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHCTlsConfig.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,17 +55,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTLSConfig implements Editable , KubernetesResource +public class AlertmanagerSpecACGHCTlsConfig implements Editable , KubernetesResource { @JsonProperty("ca") - private SecretOrConfigMap ca; + private AlertmanagerSpecACGHCTCCa ca; @JsonProperty("cert") - private SecretOrConfigMap cert; + private AlertmanagerSpecACGHCTCCert cert; @JsonProperty("insecureSkipVerify") private Boolean insecureSkipVerify; @JsonProperty("keySecret") - private SecretKeySelector keySecret; + private AlertmanagerSpecACGHCTCKeySecret keySecret; @JsonProperty("serverName") private String serverName; @JsonIgnore @@ -76,10 +75,10 @@ public class ProbeTLSConfig implements Editable , Kuberne * No args constructor for use in serialization * */ - public ProbeTLSConfig() { + public AlertmanagerSpecACGHCTlsConfig() { } - public ProbeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean insecureSkipVerify, SecretKeySelector keySecret, String serverName) { + public AlertmanagerSpecACGHCTlsConfig(AlertmanagerSpecACGHCTCCa ca, AlertmanagerSpecACGHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerSpecACGHCTCKeySecret keySecret, String serverName) { super(); this.ca = ca; this.cert = cert; @@ -89,22 +88,22 @@ public ProbeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean inse } @JsonProperty("ca") - public SecretOrConfigMap getCa() { + public AlertmanagerSpecACGHCTCCa getCa() { return ca; } @JsonProperty("ca") - public void setCa(SecretOrConfigMap ca) { + public void setCa(AlertmanagerSpecACGHCTCCa ca) { this.ca = ca; } @JsonProperty("cert") - public SecretOrConfigMap getCert() { + public AlertmanagerSpecACGHCTCCert getCert() { return cert; } @JsonProperty("cert") - public void setCert(SecretOrConfigMap cert) { + public void setCert(AlertmanagerSpecACGHCTCCert cert) { this.cert = cert; } @@ -119,12 +118,12 @@ public void setInsecureSkipVerify(Boolean insecureSkipVerify) { } @JsonProperty("keySecret") - public SecretKeySelector getKeySecret() { + public AlertmanagerSpecACGHCTCKeySecret getKeySecret() { return keySecret; } @JsonProperty("keySecret") - public void setKeySecret(SecretKeySelector keySecret) { + public void setKeySecret(AlertmanagerSpecACGHCTCKeySecret keySecret) { this.keySecret = keySecret; } @@ -139,12 +138,12 @@ public void setServerName(String serverName) { } @JsonIgnore - public ProbeTLSConfigBuilder edit() { - return new ProbeTLSConfigBuilder(this); + public AlertmanagerSpecACGHCTlsConfigBuilder edit() { + return new AlertmanagerSpecACGHCTlsConfigBuilder(this); } @JsonIgnore - public ProbeTLSConfigBuilder toBuilder() { + public AlertmanagerSpecACGHCTlsConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java similarity index 74% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java index 652c864b90d..9f1286db2ac 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HTTPConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGHttpConfig.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,23 +57,23 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPConfig implements Editable , KubernetesResource +public class AlertmanagerSpecACGHttpConfig implements Editable , KubernetesResource { @JsonProperty("authorization") - private SafeAuthorization authorization; + private AlertmanagerSpecACGHCAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private AlertmanagerSpecACGHCBasicAuth basicAuth; @JsonProperty("bearerTokenSecret") - private SecretKeySelector bearerTokenSecret; + private AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret; @JsonProperty("followRedirects") private Boolean followRedirects; @JsonProperty("oauth2") - private OAuth2 oauth2; + private AlertmanagerSpecACGHCOauth2 oauth2; @JsonProperty("proxyURL") private String proxyURL; @JsonProperty("tlsConfig") - private SafeTLSConfig tlsConfig; + private AlertmanagerSpecACGHCTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -82,10 +81,10 @@ public class HTTPConfig implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public HTTPConfig() { + public AlertmanagerSpecACGHttpConfig() { } - public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean followRedirects, OAuth2 oauth2, String proxyURL, SafeTLSConfig tlsConfig) { + public AlertmanagerSpecACGHttpConfig(AlertmanagerSpecACGHCAuthorization authorization, AlertmanagerSpecACGHCBasicAuth basicAuth, AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerSpecACGHCOauth2 oauth2, String proxyURL, AlertmanagerSpecACGHCTlsConfig tlsConfig) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -97,32 +96,32 @@ public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKe } @JsonProperty("authorization") - public SafeAuthorization getAuthorization() { + public AlertmanagerSpecACGHCAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(SafeAuthorization authorization) { + public void setAuthorization(AlertmanagerSpecACGHCAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public AlertmanagerSpecACGHCBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(AlertmanagerSpecACGHCBasicAuth basicAuth) { this.basicAuth = basicAuth; } @JsonProperty("bearerTokenSecret") - public SecretKeySelector getBearerTokenSecret() { + public AlertmanagerSpecACGHCBearerTokenSecret getBearerTokenSecret() { return bearerTokenSecret; } @JsonProperty("bearerTokenSecret") - public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) { + public void setBearerTokenSecret(AlertmanagerSpecACGHCBearerTokenSecret bearerTokenSecret) { this.bearerTokenSecret = bearerTokenSecret; } @@ -137,12 +136,12 @@ public void setFollowRedirects(Boolean followRedirects) { } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public AlertmanagerSpecACGHCOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(AlertmanagerSpecACGHCOauth2 oauth2) { this.oauth2 = oauth2; } @@ -157,22 +156,22 @@ public void setProxyURL(String proxyURL) { } @JsonProperty("tlsConfig") - public SafeTLSConfig getTlsConfig() { + public AlertmanagerSpecACGHCTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(SafeTLSConfig tlsConfig) { + public void setTlsConfig(AlertmanagerSpecACGHCTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public HTTPConfigBuilder edit() { - return new HTTPConfigBuilder(this); + public AlertmanagerSpecACGHttpConfigBuilder edit() { + return new AlertmanagerSpecACGHttpConfigBuilder(this); } @JsonIgnore - public HTTPConfigBuilder toBuilder() { + public AlertmanagerSpecACGHttpConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java new file mode 100644 index 00000000000..52881324482 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGOpsGenieApiKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGOpsGenieApiKey() { + } + + public AlertmanagerSpecACGOpsGenieApiKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGOpsGenieApiKeyBuilder edit() { + return new AlertmanagerSpecACGOpsGenieApiKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGOpsGenieApiKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java new file mode 100644 index 00000000000..c7588ebdaed --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGOpsGenieApiUrl.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGOpsGenieApiUrl implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGOpsGenieApiUrl() { + } + + public AlertmanagerSpecACGOpsGenieApiUrl(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGOpsGenieApiUrlBuilder edit() { + return new AlertmanagerSpecACGOpsGenieApiUrlBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGOpsGenieApiUrlBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java new file mode 100644 index 00000000000..74ec02025b1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGSAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGSAuthPassword() { + } + + public AlertmanagerSpecACGSAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGSAuthPasswordBuilder edit() { + return new AlertmanagerSpecACGSAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGSAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java new file mode 100644 index 00000000000..b8391694a02 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSAuthSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGSAuthSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGSAuthSecret() { + } + + public AlertmanagerSpecACGSAuthSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGSAuthSecretBuilder edit() { + return new AlertmanagerSpecACGSAuthSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGSAuthSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java index c4f44dd01b2..0184bc8aafa 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostPort.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSSmartHost.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HostPort implements Editable , KubernetesResource +public class AlertmanagerSpecACGSSmartHost implements Editable , KubernetesResource { @JsonProperty("host") @@ -66,10 +66,10 @@ public class HostPort implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public HostPort() { + public AlertmanagerSpecACGSSmartHost() { } - public HostPort(String host, String port) { + public AlertmanagerSpecACGSSmartHost(String host, String port) { super(); this.host = host; this.port = port; @@ -96,12 +96,12 @@ public void setPort(String port) { } @JsonIgnore - public HostPortBuilder edit() { - return new HostPortBuilder(this); + public AlertmanagerSpecACGSSmartHostBuilder edit() { + return new AlertmanagerSpecACGSSmartHostBuilder(this); } @JsonIgnore - public HostPortBuilder toBuilder() { + public AlertmanagerSpecACGSSmartHostBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java new file mode 100644 index 00000000000..f6925b5d95e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSlackApiUrl.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACGSlackApiUrl implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACGSlackApiUrl() { + } + + public AlertmanagerSpecACGSlackApiUrl(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACGSlackApiUrlBuilder edit() { + return new AlertmanagerSpecACGSlackApiUrlBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACGSlackApiUrlBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java similarity index 82% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java index 3cc5905681b..afaedd09071 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/GlobalSMTPConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGSmtp.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -59,15 +58,15 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class GlobalSMTPConfig implements Editable , KubernetesResource +public class AlertmanagerSpecACGSmtp implements Editable , KubernetesResource { @JsonProperty("authIdentity") private String authIdentity; @JsonProperty("authPassword") - private SecretKeySelector authPassword; + private AlertmanagerSpecACGSAuthPassword authPassword; @JsonProperty("authSecret") - private SecretKeySelector authSecret; + private AlertmanagerSpecACGSAuthSecret authSecret; @JsonProperty("authUsername") private String authUsername; @JsonProperty("from") @@ -77,7 +76,7 @@ public class GlobalSMTPConfig implements Editable , Kub @JsonProperty("requireTLS") private Boolean requireTLS; @JsonProperty("smartHost") - private HostPort smartHost; + private AlertmanagerSpecACGSSmartHost smartHost; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -85,10 +84,10 @@ public class GlobalSMTPConfig implements Editable , Kub * No args constructor for use in serialization * */ - public GlobalSMTPConfig() { + public AlertmanagerSpecACGSmtp() { } - public GlobalSMTPConfig(String authIdentity, SecretKeySelector authPassword, SecretKeySelector authSecret, String authUsername, String from, String hello, Boolean requireTLS, HostPort smartHost) { + public AlertmanagerSpecACGSmtp(String authIdentity, AlertmanagerSpecACGSAuthPassword authPassword, AlertmanagerSpecACGSAuthSecret authSecret, String authUsername, String from, String hello, Boolean requireTLS, AlertmanagerSpecACGSSmartHost smartHost) { super(); this.authIdentity = authIdentity; this.authPassword = authPassword; @@ -111,22 +110,22 @@ public void setAuthIdentity(String authIdentity) { } @JsonProperty("authPassword") - public SecretKeySelector getAuthPassword() { + public AlertmanagerSpecACGSAuthPassword getAuthPassword() { return authPassword; } @JsonProperty("authPassword") - public void setAuthPassword(SecretKeySelector authPassword) { + public void setAuthPassword(AlertmanagerSpecACGSAuthPassword authPassword) { this.authPassword = authPassword; } @JsonProperty("authSecret") - public SecretKeySelector getAuthSecret() { + public AlertmanagerSpecACGSAuthSecret getAuthSecret() { return authSecret; } @JsonProperty("authSecret") - public void setAuthSecret(SecretKeySelector authSecret) { + public void setAuthSecret(AlertmanagerSpecACGSAuthSecret authSecret) { this.authSecret = authSecret; } @@ -171,22 +170,22 @@ public void setRequireTLS(Boolean requireTLS) { } @JsonProperty("smartHost") - public HostPort getSmartHost() { + public AlertmanagerSpecACGSSmartHost getSmartHost() { return smartHost; } @JsonProperty("smartHost") - public void setSmartHost(HostPort smartHost) { + public void setSmartHost(AlertmanagerSpecACGSSmartHost smartHost) { this.smartHost = smartHost; } @JsonIgnore - public GlobalSMTPConfigBuilder edit() { - return new GlobalSMTPConfigBuilder(this); + public AlertmanagerSpecACGSmtpBuilder edit() { + return new AlertmanagerSpecACGSmtpBuilder(this); } @JsonIgnore - public GlobalSMTPConfigBuilder toBuilder() { + public AlertmanagerSpecACGSmtpBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java similarity index 75% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java index 02519247c99..16d3513badb 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerGlobalConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACGlobal.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,23 +57,23 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerGlobalConfig implements Editable , KubernetesResource +public class AlertmanagerSpecACGlobal implements Editable , KubernetesResource { @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerSpecACGHttpConfig httpConfig; @JsonProperty("opsGenieApiKey") - private SecretKeySelector opsGenieApiKey; + private AlertmanagerSpecACGOpsGenieApiKey opsGenieApiKey; @JsonProperty("opsGenieApiUrl") - private SecretKeySelector opsGenieApiUrl; + private AlertmanagerSpecACGOpsGenieApiUrl opsGenieApiUrl; @JsonProperty("pagerdutyUrl") private String pagerdutyUrl; @JsonProperty("resolveTimeout") private String resolveTimeout; @JsonProperty("slackApiUrl") - private SecretKeySelector slackApiUrl; + private AlertmanagerSpecACGSlackApiUrl slackApiUrl; @JsonProperty("smtp") - private GlobalSMTPConfig smtp; + private AlertmanagerSpecACGSmtp smtp; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -82,10 +81,10 @@ public class AlertmanagerGlobalConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACTConfigMap() { + } + + public AlertmanagerSpecACTConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACTConfigMapBuilder edit() { + return new AlertmanagerSpecACTConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACTConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java new file mode 100644 index 00000000000..0f338e11a69 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACTSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACTSecret() { + } + + public AlertmanagerSpecACTSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecACTSecretBuilder edit() { + return new AlertmanagerSpecACTSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACTSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTemplates.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTemplates.java new file mode 100644 index 00000000000..e47bc37d2e7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecACTemplates.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecACTemplates implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerSpecACTConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerSpecACTSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecACTemplates() { + } + + public AlertmanagerSpecACTemplates(AlertmanagerSpecACTConfigMap configMap, AlertmanagerSpecACTSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerSpecACTConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecACTConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerSpecACTSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecACTSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerSpecACTemplatesBuilder edit() { + return new AlertmanagerSpecACTemplatesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecACTemplatesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchExpressions.java new file mode 100644 index 00000000000..c1642a25ed8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANAPDSIDEPMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANAPDSIDEPMatchExpressions() { + } + + public AlertmanagerSpecANAPDSIDEPMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPMatchExpressionsBuilder edit() { + return new AlertmanagerSpecANAPDSIDEPMatchExpressionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchFields.java new file mode 100644 index 00000000000..67a6390fb51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANAPDSIDEPMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANAPDSIDEPMatchFields() { + } + + public AlertmanagerSpecANAPDSIDEPMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPMatchFieldsBuilder edit() { + return new AlertmanagerSpecANAPDSIDEPMatchFieldsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPreference.java new file mode 100644 index 00000000000..b67db6d3495 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPDSIDEPreference.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANAPDSIDEPreference implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANAPDSIDEPreference() { + } + + public AlertmanagerSpecANAPDSIDEPreference(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPreferenceBuilder edit() { + return new AlertmanagerSpecANAPDSIDEPreferenceBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANAPDSIDEPreferenceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..db622d75c4e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preference", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("preference") + private AlertmanagerSpecANAPDSIDEPreference preference; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public AlertmanagerSpecANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(AlertmanagerSpecANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..bbc0822d45e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANARDSIDENSTMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANARDSIDENSTMatchExpressions() { + } + + public AlertmanagerSpecANARDSIDENSTMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENSTMatchExpressionsBuilder edit() { + return new AlertmanagerSpecANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENSTMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..2b213f54d51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENSTMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANARDSIDENSTMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANARDSIDENSTMatchFields() { + } + + public AlertmanagerSpecANARDSIDENSTMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENSTMatchFieldsBuilder edit() { + return new AlertmanagerSpecANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENSTMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..7dcbd740942 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARDSIDENodeSelectorTerms.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANARDSIDENodeSelectorTerms implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANARDSIDENodeSelectorTerms() { + } + + public AlertmanagerSpecANARDSIDENodeSelectorTerms(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENodeSelectorTermsBuilder edit() { + return new AlertmanagerSpecANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANARDSIDENodeSelectorTermsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..793d72c04c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeSelectorTerms" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANodeAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANodeAffinity.java new file mode 100644 index 00000000000..0fd8147b2fb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecANodeAffinity.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecANodeAffinity() { + } + + public AlertmanagerSpecANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public AlertmanagerSpecANodeAffinityBuilder edit() { + return new AlertmanagerSpecANodeAffinityBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecANodeAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..885295e52b7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAAPDSIDEPATLabelSelector() { + } + + public AlertmanagerSpecAPAAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new AlertmanagerSpecAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..ffdfc1ac2d3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector() { + } + + public AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new AlertmanagerSpecAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..5d76584d72c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAAPDSIDEPodAffinityTerm() { + } + + public AlertmanagerSpecAPAAPDSIDEPodAffinityTerm(AlertmanagerSpecAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(AlertmanagerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPodAffinityTermBuilder edit() { + return new AlertmanagerSpecAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..9ceb13ff0f6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private AlertmanagerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public AlertmanagerSpecAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(AlertmanagerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..1e23ec81c44 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAARDSIDELabelSelector() { + } + + public AlertmanagerSpecAPAARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAARDSIDELabelSelectorBuilder edit() { + return new AlertmanagerSpecAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..a2b169878e9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAARDSIDENamespaceSelector() { + } + + public AlertmanagerSpecAPAARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAARDSIDENamespaceSelectorBuilder edit() { + return new AlertmanagerSpecAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..0f819b6cc93 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private AlertmanagerSpecAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, AlertmanagerSpecAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public AlertmanagerSpecAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(AlertmanagerSpecAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..1ea5e8ad62c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAPDSIDEPATLabelSelector() { + } + + public AlertmanagerSpecAPAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPATLabelSelectorBuilder edit() { + return new AlertmanagerSpecAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..d4e74f80d8b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAPDSIDEPATNamespaceSelector() { + } + + public AlertmanagerSpecAPAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new AlertmanagerSpecAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..3e14e3032dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private AlertmanagerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAPDSIDEPodAffinityTerm() { + } + + public AlertmanagerSpecAPAPDSIDEPodAffinityTerm(AlertmanagerSpecAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, AlertmanagerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public AlertmanagerSpecAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(AlertmanagerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPodAffinityTermBuilder edit() { + return new AlertmanagerSpecAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..70cbe7b25f7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private AlertmanagerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public AlertmanagerSpecAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(AlertmanagerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..4bc2f27f6ee --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPARDSIDELabelSelector() { + } + + public AlertmanagerSpecAPARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPARDSIDELabelSelectorBuilder edit() { + return new AlertmanagerSpecAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..dc5a891d7d7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPARDSIDENamespaceSelector() { + } + + public AlertmanagerSpecAPARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAPARDSIDENamespaceSelectorBuilder edit() { + return new AlertmanagerSpecAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..ac9cebedccf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private AlertmanagerSpecAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecution(AlertmanagerSpecAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, AlertmanagerSpecAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public AlertmanagerSpecAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(AlertmanagerSpecAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAffinity.java new file mode 100644 index 00000000000..c7dc8db4505 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPodAffinity() { + } + + public AlertmanagerSpecAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public AlertmanagerSpecAPodAffinityBuilder edit() { + return new AlertmanagerSpecAPodAffinityBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPodAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAntiAffinity.java new file mode 100644 index 00000000000..44c665764df --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAPodAntiAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAPodAntiAffinity() { + } + + public AlertmanagerSpecAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public AlertmanagerSpecAPodAntiAffinityBuilder edit() { + return new AlertmanagerSpecAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAPodAntiAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAffinity.java new file mode 100644 index 00000000000..2c809ccd42e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAffinity.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private AlertmanagerSpecANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private AlertmanagerSpecAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private AlertmanagerSpecAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAffinity() { + } + + public AlertmanagerSpecAffinity(AlertmanagerSpecANodeAffinity nodeAffinity, AlertmanagerSpecAPodAffinity podAffinity, AlertmanagerSpecAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public AlertmanagerSpecANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(AlertmanagerSpecANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public AlertmanagerSpecAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(AlertmanagerSpecAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public AlertmanagerSpecAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(AlertmanagerSpecAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public AlertmanagerSpecAffinityBuilder edit() { + return new AlertmanagerSpecAffinityBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfigMatcherStrategy.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigMatcherStrategy.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfigMatcherStrategy.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigMatcherStrategy.java index e57d5eb1889..def26a6a2e1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfigMatcherStrategy.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigMatcherStrategy.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerConfigMatcherStrategy implements Editable , KubernetesResource +public class AlertmanagerSpecAlertmanagerConfigMatcherStrategy implements Editable , KubernetesResource { @JsonProperty("type") @@ -63,10 +63,10 @@ public class AlertmanagerConfigMatcherStrategy implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAlertmanagerConfigNamespaceSelector() { + } + + public AlertmanagerSpecAlertmanagerConfigNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAlertmanagerConfigNamespaceSelectorBuilder edit() { + return new AlertmanagerSpecAlertmanagerConfigNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAlertmanagerConfigNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigSelector.java new file mode 100644 index 00000000000..333e1bbed35 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfigSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecAlertmanagerConfigSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecAlertmanagerConfigSelector() { + } + + public AlertmanagerSpecAlertmanagerConfigSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecAlertmanagerConfigSelectorBuilder edit() { + return new AlertmanagerSpecAlertmanagerConfigSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecAlertmanagerConfigSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfiguration.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfiguration.java index 5062bd95108..3c449c1a2b9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerConfiguration.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecAlertmanagerConfiguration.java @@ -55,16 +55,16 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerConfiguration implements Editable , KubernetesResource +public class AlertmanagerSpecAlertmanagerConfiguration implements Editable , KubernetesResource { @JsonProperty("global") - private AlertmanagerGlobalConfig global; + private AlertmanagerSpecACGlobal global; @JsonProperty("name") private String name; @JsonProperty("templates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List templates = new ArrayList<>(); + private List templates = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -72,10 +72,10 @@ public class AlertmanagerConfiguration implements Editable templates) { + public AlertmanagerSpecAlertmanagerConfiguration(AlertmanagerSpecACGlobal global, String name, List templates) { super(); this.global = global; this.name = name; @@ -83,12 +83,12 @@ public AlertmanagerConfiguration(AlertmanagerGlobalConfig global, String name, L } @JsonProperty("global") - public AlertmanagerGlobalConfig getGlobal() { + public AlertmanagerSpecACGlobal getGlobal() { return global; } @JsonProperty("global") - public void setGlobal(AlertmanagerGlobalConfig global) { + public void setGlobal(AlertmanagerSpecACGlobal global) { this.global = global; } @@ -104,22 +104,22 @@ public void setName(String name) { @JsonProperty("templates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTemplates() { + public List getTemplates() { return templates; } @JsonProperty("templates") - public void setTemplates(List templates) { + public void setTemplates(List templates) { this.templates = templates; } @JsonIgnore - public AlertmanagerConfigurationBuilder edit() { - return new AlertmanagerConfigurationBuilder(this); + public AlertmanagerSpecAlertmanagerConfigurationBuilder edit() { + return new AlertmanagerSpecAlertmanagerConfigurationBuilder(this); } @JsonIgnore - public AlertmanagerConfigurationBuilder toBuilder() { + public AlertmanagerSpecAlertmanagerConfigurationBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFConfigMapRef.java new file mode 100644 index 00000000000..d84cbf296f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFConfigMapRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEFConfigMapRef() { + } + + public AlertmanagerSpecCEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecCEFConfigMapRefBuilder edit() { + return new AlertmanagerSpecCEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFSecretRef.java new file mode 100644 index 00000000000..38fd9f47279 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEFSecretRef() { + } + + public AlertmanagerSpecCEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecCEFSecretRefBuilder edit() { + return new AlertmanagerSpecCEFSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..245f228ba52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEVFConfigMapKeyRef() { + } + + public AlertmanagerSpecCEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecCEVFConfigMapKeyRefBuilder edit() { + return new AlertmanagerSpecCEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFFieldRef.java new file mode 100644 index 00000000000..27607665940 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEVFFieldRef() { + } + + public AlertmanagerSpecCEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public AlertmanagerSpecCEVFFieldRefBuilder edit() { + return new AlertmanagerSpecCEVFFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFResourceFieldRef.java new file mode 100644 index 00000000000..5ae4a02b922 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEVFResourceFieldRef() { + } + + public AlertmanagerSpecCEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public AlertmanagerSpecCEVFResourceFieldRefBuilder edit() { + return new AlertmanagerSpecCEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFSecretKeyRef.java new file mode 100644 index 00000000000..6331a63a3eb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEVFSecretKeyRef() { + } + + public AlertmanagerSpecCEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecCEVFSecretKeyRefBuilder edit() { + return new AlertmanagerSpecCEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEValueFrom.java new file mode 100644 index 00000000000..237efb58569 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private AlertmanagerSpecCEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private AlertmanagerSpecCEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private AlertmanagerSpecCEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private AlertmanagerSpecCEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEValueFrom() { + } + + public AlertmanagerSpecCEValueFrom(AlertmanagerSpecCEVFConfigMapKeyRef configMapKeyRef, AlertmanagerSpecCEVFFieldRef fieldRef, AlertmanagerSpecCEVFResourceFieldRef resourceFieldRef, AlertmanagerSpecCEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public AlertmanagerSpecCEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(AlertmanagerSpecCEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public AlertmanagerSpecCEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(AlertmanagerSpecCEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public AlertmanagerSpecCEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(AlertmanagerSpecCEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public AlertmanagerSpecCEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(AlertmanagerSpecCEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public AlertmanagerSpecCEValueFromBuilder edit() { + return new AlertmanagerSpecCEValueFromBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnv.java new file mode 100644 index 00000000000..85fb90454d5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private AlertmanagerSpecCEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEnv() { + } + + public AlertmanagerSpecCEnv(String name, String value, AlertmanagerSpecCEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public AlertmanagerSpecCEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(AlertmanagerSpecCEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public AlertmanagerSpecCEnvBuilder edit() { + return new AlertmanagerSpecCEnvBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnvFrom.java new file mode 100644 index 00000000000..a6a865c4b23 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private AlertmanagerSpecCEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private AlertmanagerSpecCEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCEnvFrom() { + } + + public AlertmanagerSpecCEnvFrom(AlertmanagerSpecCEFConfigMapRef configMapRef, String prefix, AlertmanagerSpecCEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public AlertmanagerSpecCEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(AlertmanagerSpecCEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecCEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecCEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public AlertmanagerSpecCEnvFromBuilder edit() { + return new AlertmanagerSpecCEnvFromBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPExec.java new file mode 100644 index 00000000000..2085a62550f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPExec() { + } + + public AlertmanagerSpecCLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecCLPExecBuilder edit() { + return new AlertmanagerSpecCLPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPGrpc.java new file mode 100644 index 00000000000..4cf6defebf2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPGrpc() { + } + + public AlertmanagerSpecCLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecCLPGrpcBuilder edit() { + return new AlertmanagerSpecCLPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPHttpGet.java new file mode 100644 index 00000000000..4784dbb2ce0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPHttpGet() { + } + + public AlertmanagerSpecCLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecCLPHttpGetBuilder edit() { + return new AlertmanagerSpecCLPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec.java new file mode 100644 index 00000000000..9e57abc1611 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSExec() { + } + + public AlertmanagerSpecCLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecCLPSExecBuilder edit() { + return new AlertmanagerSpecCLPSExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec_1.java new file mode 100644 index 00000000000..a64563c78e3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSExec_1() { + } + + public AlertmanagerSpecCLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecCLPSExec_1Builder edit() { + return new AlertmanagerSpecCLPSExec_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet.java new file mode 100644 index 00000000000..983aaac8ee9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSHttpGet() { + } + + public AlertmanagerSpecCLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecCLPSHttpGetBuilder edit() { + return new AlertmanagerSpecCLPSHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet_1.java new file mode 100644 index 00000000000..9c4fb951a25 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSHttpGet_1() { + } + + public AlertmanagerSpecCLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecCLPSHttpGet_1Builder edit() { + return new AlertmanagerSpecCLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep.java new file mode 100644 index 00000000000..0b1040a373d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSSleep() { + } + + public AlertmanagerSpecCLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public AlertmanagerSpecCLPSSleepBuilder edit() { + return new AlertmanagerSpecCLPSSleepBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep_1.java new file mode 100644 index 00000000000..270db48df03 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSSleep_1() { + } + + public AlertmanagerSpecCLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public AlertmanagerSpecCLPSSleep_1Builder edit() { + return new AlertmanagerSpecCLPSSleep_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket.java new file mode 100644 index 00000000000..5674d4b9855 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSTcpSocket() { + } + + public AlertmanagerSpecCLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecCLPSTcpSocketBuilder edit() { + return new AlertmanagerSpecCLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket_1.java new file mode 100644 index 00000000000..ec684bf38c5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPSTcpSocket_1() { + } + + public AlertmanagerSpecCLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecCLPSTcpSocket_1Builder edit() { + return new AlertmanagerSpecCLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPTcpSocket.java new file mode 100644 index 00000000000..720a58012b9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPTcpSocket() { + } + + public AlertmanagerSpecCLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecCLPTcpSocketBuilder edit() { + return new AlertmanagerSpecCLPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPostStart.java new file mode 100644 index 00000000000..c0684c47621 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecCLPSExec exec; + @JsonProperty("httpGet") + private AlertmanagerSpecCLPSHttpGet httpGet; + @JsonProperty("sleep") + private AlertmanagerSpecCLPSSleep sleep; + @JsonProperty("tcpSocket") + private AlertmanagerSpecCLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPostStart() { + } + + public AlertmanagerSpecCLPostStart(AlertmanagerSpecCLPSExec exec, AlertmanagerSpecCLPSHttpGet httpGet, AlertmanagerSpecCLPSSleep sleep, AlertmanagerSpecCLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public AlertmanagerSpecCLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecCLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecCLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecCLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public AlertmanagerSpecCLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(AlertmanagerSpecCLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecCLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecCLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public AlertmanagerSpecCLPostStartBuilder edit() { + return new AlertmanagerSpecCLPostStartBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPreStop.java new file mode 100644 index 00000000000..03094e55350 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecCLPSExec_1 exec; + @JsonProperty("httpGet") + private AlertmanagerSpecCLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private AlertmanagerSpecCLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private AlertmanagerSpecCLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLPreStop() { + } + + public AlertmanagerSpecCLPreStop(AlertmanagerSpecCLPSExec_1 exec, AlertmanagerSpecCLPSHttpGet_1 httpGet, AlertmanagerSpecCLPSSleep_1 sleep, AlertmanagerSpecCLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public AlertmanagerSpecCLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecCLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecCLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecCLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public AlertmanagerSpecCLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(AlertmanagerSpecCLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecCLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecCLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public AlertmanagerSpecCLPreStopBuilder edit() { + return new AlertmanagerSpecCLPreStopBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLifecycle.java new file mode 100644 index 00000000000..a80336bdf9e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private AlertmanagerSpecCLPostStart postStart; + @JsonProperty("preStop") + private AlertmanagerSpecCLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLifecycle() { + } + + public AlertmanagerSpecCLifecycle(AlertmanagerSpecCLPostStart postStart, AlertmanagerSpecCLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public AlertmanagerSpecCLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(AlertmanagerSpecCLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public AlertmanagerSpecCLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(AlertmanagerSpecCLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public AlertmanagerSpecCLifecycleBuilder edit() { + return new AlertmanagerSpecCLifecycleBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLivenessProbe.java new file mode 100644 index 00000000000..463a5da3fd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecCLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecCLPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecCLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecCLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCLivenessProbe() { + } + + public AlertmanagerSpecCLivenessProbe(AlertmanagerSpecCLPExec exec, Integer failureThreshold, AlertmanagerSpecCLPGrpc grpc, AlertmanagerSpecCLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecCLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecCLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecCLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecCLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecCLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecCLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecCLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecCLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecCLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecCLivenessProbeBuilder edit() { + return new AlertmanagerSpecCLivenessProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCPorts.java new file mode 100644 index 00000000000..0fe2715adf9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCPorts() { + } + + public AlertmanagerSpecCPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public AlertmanagerSpecCPortsBuilder edit() { + return new AlertmanagerSpecCPortsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPExec.java new file mode 100644 index 00000000000..9dc3f31a710 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCRPExec() { + } + + public AlertmanagerSpecCRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecCRPExecBuilder edit() { + return new AlertmanagerSpecCRPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPGrpc.java new file mode 100644 index 00000000000..a1e21e70175 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCRPGrpc() { + } + + public AlertmanagerSpecCRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecCRPGrpcBuilder edit() { + return new AlertmanagerSpecCRPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPHttpGet.java new file mode 100644 index 00000000000..08212ce1661 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCRPHttpGet() { + } + + public AlertmanagerSpecCRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecCRPHttpGetBuilder edit() { + return new AlertmanagerSpecCRPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPTcpSocket.java new file mode 100644 index 00000000000..68c23feca2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCRPTcpSocket() { + } + + public AlertmanagerSpecCRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecCRPTcpSocketBuilder edit() { + return new AlertmanagerSpecCRPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCReadinessProbe.java new file mode 100644 index 00000000000..93938f57653 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecCRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecCRPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecCRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecCRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCReadinessProbe() { + } + + public AlertmanagerSpecCReadinessProbe(AlertmanagerSpecCRPExec exec, Integer failureThreshold, AlertmanagerSpecCRPGrpc grpc, AlertmanagerSpecCRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecCRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecCRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecCRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecCRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecCRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecCRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecCRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecCRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecCRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecCReadinessProbeBuilder edit() { + return new AlertmanagerSpecCReadinessProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCResources.java new file mode 100644 index 00000000000..4c6f91ac314 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCResources() { + } + + public AlertmanagerSpecCResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecCResourcesBuilder edit() { + return new AlertmanagerSpecCResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCCapabilities.java new file mode 100644 index 00000000000..2cf70d971c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSCCapabilities() { + } + + public AlertmanagerSpecCSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public AlertmanagerSpecCSCCapabilitiesBuilder edit() { + return new AlertmanagerSpecCSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeLinuxOptions.java new file mode 100644 index 00000000000..fa7323c65ec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSCSeLinuxOptions() { + } + + public AlertmanagerSpecCSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public AlertmanagerSpecCSCSeLinuxOptionsBuilder edit() { + return new AlertmanagerSpecCSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeccompProfile.java new file mode 100644 index 00000000000..d069ff3da7c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSCSeccompProfile() { + } + + public AlertmanagerSpecCSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecCSCSeccompProfileBuilder edit() { + return new AlertmanagerSpecCSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCWindowsOptions.java new file mode 100644 index 00000000000..09564109b43 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSCWindowsOptions() { + } + + public AlertmanagerSpecCSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public AlertmanagerSpecCSCWindowsOptionsBuilder edit() { + return new AlertmanagerSpecCSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPExec.java new file mode 100644 index 00000000000..21c7d34d55f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSPExec() { + } + + public AlertmanagerSpecCSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecCSPExecBuilder edit() { + return new AlertmanagerSpecCSPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPGrpc.java new file mode 100644 index 00000000000..d8c3efeeb52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSPGrpc() { + } + + public AlertmanagerSpecCSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecCSPGrpcBuilder edit() { + return new AlertmanagerSpecCSPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPHttpGet.java new file mode 100644 index 00000000000..480989e88ea --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSPHttpGet() { + } + + public AlertmanagerSpecCSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecCSPHttpGetBuilder edit() { + return new AlertmanagerSpecCSPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPTcpSocket.java new file mode 100644 index 00000000000..426f2bf35a7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSPTcpSocket() { + } + + public AlertmanagerSpecCSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecCSPTcpSocketBuilder edit() { + return new AlertmanagerSpecCSPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSecurityContext.java new file mode 100644 index 00000000000..1c736d0e4ae --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private AlertmanagerSpecCSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private AlertmanagerSpecCSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private AlertmanagerSpecCSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private AlertmanagerSpecCSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCSecurityContext() { + } + + public AlertmanagerSpecCSecurityContext(Boolean allowPrivilegeEscalation, AlertmanagerSpecCSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, AlertmanagerSpecCSCSeLinuxOptions seLinuxOptions, AlertmanagerSpecCSCSeccompProfile seccompProfile, AlertmanagerSpecCSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public AlertmanagerSpecCSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(AlertmanagerSpecCSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public AlertmanagerSpecCSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(AlertmanagerSpecCSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public AlertmanagerSpecCSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(AlertmanagerSpecCSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public AlertmanagerSpecCSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(AlertmanagerSpecCSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public AlertmanagerSpecCSecurityContextBuilder edit() { + return new AlertmanagerSpecCSecurityContextBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCStartupProbe.java new file mode 100644 index 00000000000..433584a685f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecCSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecCSPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecCSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecCSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCStartupProbe() { + } + + public AlertmanagerSpecCStartupProbe(AlertmanagerSpecCSPExec exec, Integer failureThreshold, AlertmanagerSpecCSPGrpc grpc, AlertmanagerSpecCSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecCSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecCSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecCSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecCSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecCSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecCSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecCSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecCSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecCSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecCStartupProbeBuilder edit() { + return new AlertmanagerSpecCStartupProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCVolumeMounts.java new file mode 100644 index 00000000000..8d2b4f23286 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecCVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecCVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecCVolumeMounts() { + } + + public AlertmanagerSpecCVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public AlertmanagerSpecCVolumeMountsBuilder edit() { + return new AlertmanagerSpecCVolumeMountsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecCVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecContainers.java new file mode 100644 index 00000000000..0a3282668dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private AlertmanagerSpecCLifecycle lifecycle; + @JsonProperty("livenessProbe") + private AlertmanagerSpecCLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private AlertmanagerSpecCReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private AlertmanagerSpecCResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private AlertmanagerSpecCSecurityContext securityContext; + @JsonProperty("startupProbe") + private AlertmanagerSpecCStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecContainers() { + } + + public AlertmanagerSpecContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, AlertmanagerSpecCLifecycle lifecycle, AlertmanagerSpecCLivenessProbe livenessProbe, String name, List ports, AlertmanagerSpecCReadinessProbe readinessProbe, List resizePolicy, AlertmanagerSpecCResources resources, String restartPolicy, AlertmanagerSpecCSecurityContext securityContext, AlertmanagerSpecCStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public AlertmanagerSpecCLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(AlertmanagerSpecCLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public AlertmanagerSpecCLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(AlertmanagerSpecCLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public AlertmanagerSpecCReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(AlertmanagerSpecCReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public AlertmanagerSpecCResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(AlertmanagerSpecCResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public AlertmanagerSpecCSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(AlertmanagerSpecCSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public AlertmanagerSpecCStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(AlertmanagerSpecCStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public AlertmanagerSpecContainersBuilder edit() { + return new AlertmanagerSpecContainersBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecHostAliases.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecHostAliases.java new file mode 100644 index 00000000000..349c50c600e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecHostAliases.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "hostnames", + "ip" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecHostAliases implements Editable , KubernetesResource +{ + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List hostnames = new ArrayList<>(); + @JsonProperty("ip") + private String ip; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecHostAliases() { + } + + public AlertmanagerSpecHostAliases(List hostnames, String ip) { + super(); + this.hostnames = hostnames; + this.ip = ip; + } + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHostnames() { + return hostnames; + } + + @JsonProperty("hostnames") + public void setHostnames(List hostnames) { + this.hostnames = hostnames; + } + + @JsonProperty("ip") + public String getIp() { + return ip; + } + + @JsonProperty("ip") + public void setIp(String ip) { + this.ip = ip; + } + + @JsonIgnore + public AlertmanagerSpecHostAliasesBuilder edit() { + return new AlertmanagerSpecHostAliasesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecHostAliasesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFConfigMapRef.java new file mode 100644 index 00000000000..42ab0604cdc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFConfigMapRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEFConfigMapRef() { + } + + public AlertmanagerSpecICEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecICEFConfigMapRefBuilder edit() { + return new AlertmanagerSpecICEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFSecretRef.java new file mode 100644 index 00000000000..6c851c3943c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEFSecretRef() { + } + + public AlertmanagerSpecICEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecICEFSecretRefBuilder edit() { + return new AlertmanagerSpecICEFSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..023418a5f7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEVFConfigMapKeyRef() { + } + + public AlertmanagerSpecICEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecICEVFConfigMapKeyRefBuilder edit() { + return new AlertmanagerSpecICEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFFieldRef.java new file mode 100644 index 00000000000..e8055a1efdc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEVFFieldRef() { + } + + public AlertmanagerSpecICEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public AlertmanagerSpecICEVFFieldRefBuilder edit() { + return new AlertmanagerSpecICEVFFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFResourceFieldRef.java new file mode 100644 index 00000000000..7b252040b19 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEVFResourceFieldRef() { + } + + public AlertmanagerSpecICEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public AlertmanagerSpecICEVFResourceFieldRefBuilder edit() { + return new AlertmanagerSpecICEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFSecretKeyRef.java new file mode 100644 index 00000000000..90dc58041c5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEVFSecretKeyRef() { + } + + public AlertmanagerSpecICEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecICEVFSecretKeyRefBuilder edit() { + return new AlertmanagerSpecICEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEValueFrom.java new file mode 100644 index 00000000000..a57218cb881 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private AlertmanagerSpecICEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private AlertmanagerSpecICEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private AlertmanagerSpecICEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private AlertmanagerSpecICEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEValueFrom() { + } + + public AlertmanagerSpecICEValueFrom(AlertmanagerSpecICEVFConfigMapKeyRef configMapKeyRef, AlertmanagerSpecICEVFFieldRef fieldRef, AlertmanagerSpecICEVFResourceFieldRef resourceFieldRef, AlertmanagerSpecICEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public AlertmanagerSpecICEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(AlertmanagerSpecICEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public AlertmanagerSpecICEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(AlertmanagerSpecICEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public AlertmanagerSpecICEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(AlertmanagerSpecICEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public AlertmanagerSpecICEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(AlertmanagerSpecICEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public AlertmanagerSpecICEValueFromBuilder edit() { + return new AlertmanagerSpecICEValueFromBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnv.java new file mode 100644 index 00000000000..58016bc9241 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private AlertmanagerSpecICEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEnv() { + } + + public AlertmanagerSpecICEnv(String name, String value, AlertmanagerSpecICEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public AlertmanagerSpecICEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(AlertmanagerSpecICEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public AlertmanagerSpecICEnvBuilder edit() { + return new AlertmanagerSpecICEnvBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnvFrom.java new file mode 100644 index 00000000000..0660550041b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private AlertmanagerSpecICEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private AlertmanagerSpecICEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICEnvFrom() { + } + + public AlertmanagerSpecICEnvFrom(AlertmanagerSpecICEFConfigMapRef configMapRef, String prefix, AlertmanagerSpecICEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public AlertmanagerSpecICEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(AlertmanagerSpecICEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecICEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecICEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public AlertmanagerSpecICEnvFromBuilder edit() { + return new AlertmanagerSpecICEnvFromBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPExec.java new file mode 100644 index 00000000000..a1d2237dbac --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPExec() { + } + + public AlertmanagerSpecICLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecICLPExecBuilder edit() { + return new AlertmanagerSpecICLPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPGrpc.java new file mode 100644 index 00000000000..80326bad6d0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPGrpc() { + } + + public AlertmanagerSpecICLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecICLPGrpcBuilder edit() { + return new AlertmanagerSpecICLPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPHttpGet.java new file mode 100644 index 00000000000..28b78d60bcb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPHttpGet() { + } + + public AlertmanagerSpecICLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecICLPHttpGetBuilder edit() { + return new AlertmanagerSpecICLPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec.java new file mode 100644 index 00000000000..32bae0a43c3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSExec() { + } + + public AlertmanagerSpecICLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecICLPSExecBuilder edit() { + return new AlertmanagerSpecICLPSExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec_1.java new file mode 100644 index 00000000000..bffa3996526 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSExec_1() { + } + + public AlertmanagerSpecICLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecICLPSExec_1Builder edit() { + return new AlertmanagerSpecICLPSExec_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet.java new file mode 100644 index 00000000000..eeffe2ec5d0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSHttpGet() { + } + + public AlertmanagerSpecICLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecICLPSHttpGetBuilder edit() { + return new AlertmanagerSpecICLPSHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet_1.java new file mode 100644 index 00000000000..afe3fa08033 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSHttpGet_1() { + } + + public AlertmanagerSpecICLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecICLPSHttpGet_1Builder edit() { + return new AlertmanagerSpecICLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep.java new file mode 100644 index 00000000000..c43761088fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSSleep() { + } + + public AlertmanagerSpecICLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public AlertmanagerSpecICLPSSleepBuilder edit() { + return new AlertmanagerSpecICLPSSleepBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep_1.java new file mode 100644 index 00000000000..e194ebdad22 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSSleep_1() { + } + + public AlertmanagerSpecICLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public AlertmanagerSpecICLPSSleep_1Builder edit() { + return new AlertmanagerSpecICLPSSleep_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket.java new file mode 100644 index 00000000000..0c3b6818cc4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSTcpSocket() { + } + + public AlertmanagerSpecICLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecICLPSTcpSocketBuilder edit() { + return new AlertmanagerSpecICLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket_1.java new file mode 100644 index 00000000000..9a36edbc71c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPSTcpSocket_1() { + } + + public AlertmanagerSpecICLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecICLPSTcpSocket_1Builder edit() { + return new AlertmanagerSpecICLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPTcpSocket.java new file mode 100644 index 00000000000..21c5d8bba6e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPTcpSocket() { + } + + public AlertmanagerSpecICLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecICLPTcpSocketBuilder edit() { + return new AlertmanagerSpecICLPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPostStart.java new file mode 100644 index 00000000000..aa49f2b7c51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecICLPSExec exec; + @JsonProperty("httpGet") + private AlertmanagerSpecICLPSHttpGet httpGet; + @JsonProperty("sleep") + private AlertmanagerSpecICLPSSleep sleep; + @JsonProperty("tcpSocket") + private AlertmanagerSpecICLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPostStart() { + } + + public AlertmanagerSpecICLPostStart(AlertmanagerSpecICLPSExec exec, AlertmanagerSpecICLPSHttpGet httpGet, AlertmanagerSpecICLPSSleep sleep, AlertmanagerSpecICLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public AlertmanagerSpecICLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecICLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecICLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecICLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public AlertmanagerSpecICLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(AlertmanagerSpecICLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecICLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecICLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public AlertmanagerSpecICLPostStartBuilder edit() { + return new AlertmanagerSpecICLPostStartBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPreStop.java new file mode 100644 index 00000000000..5429059d12d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecICLPSExec_1 exec; + @JsonProperty("httpGet") + private AlertmanagerSpecICLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private AlertmanagerSpecICLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private AlertmanagerSpecICLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLPreStop() { + } + + public AlertmanagerSpecICLPreStop(AlertmanagerSpecICLPSExec_1 exec, AlertmanagerSpecICLPSHttpGet_1 httpGet, AlertmanagerSpecICLPSSleep_1 sleep, AlertmanagerSpecICLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public AlertmanagerSpecICLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecICLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecICLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecICLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public AlertmanagerSpecICLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(AlertmanagerSpecICLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecICLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecICLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public AlertmanagerSpecICLPreStopBuilder edit() { + return new AlertmanagerSpecICLPreStopBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLifecycle.java new file mode 100644 index 00000000000..d5d24d4e14b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private AlertmanagerSpecICLPostStart postStart; + @JsonProperty("preStop") + private AlertmanagerSpecICLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLifecycle() { + } + + public AlertmanagerSpecICLifecycle(AlertmanagerSpecICLPostStart postStart, AlertmanagerSpecICLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public AlertmanagerSpecICLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(AlertmanagerSpecICLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public AlertmanagerSpecICLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(AlertmanagerSpecICLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public AlertmanagerSpecICLifecycleBuilder edit() { + return new AlertmanagerSpecICLifecycleBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLivenessProbe.java new file mode 100644 index 00000000000..1e0c86b1683 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecICLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecICLPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecICLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecICLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICLivenessProbe() { + } + + public AlertmanagerSpecICLivenessProbe(AlertmanagerSpecICLPExec exec, Integer failureThreshold, AlertmanagerSpecICLPGrpc grpc, AlertmanagerSpecICLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecICLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecICLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecICLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecICLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecICLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecICLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecICLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecICLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecICLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecICLivenessProbeBuilder edit() { + return new AlertmanagerSpecICLivenessProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICPorts.java new file mode 100644 index 00000000000..fec94d338b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICPorts() { + } + + public AlertmanagerSpecICPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public AlertmanagerSpecICPortsBuilder edit() { + return new AlertmanagerSpecICPortsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPExec.java new file mode 100644 index 00000000000..73f786d83fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICRPExec() { + } + + public AlertmanagerSpecICRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecICRPExecBuilder edit() { + return new AlertmanagerSpecICRPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPGrpc.java new file mode 100644 index 00000000000..e88605e6552 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICRPGrpc() { + } + + public AlertmanagerSpecICRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecICRPGrpcBuilder edit() { + return new AlertmanagerSpecICRPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPHttpGet.java new file mode 100644 index 00000000000..f84eca415ac --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICRPHttpGet() { + } + + public AlertmanagerSpecICRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecICRPHttpGetBuilder edit() { + return new AlertmanagerSpecICRPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPTcpSocket.java new file mode 100644 index 00000000000..ffa8f1d09e5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICRPTcpSocket() { + } + + public AlertmanagerSpecICRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecICRPTcpSocketBuilder edit() { + return new AlertmanagerSpecICRPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICReadinessProbe.java new file mode 100644 index 00000000000..6e6570fe46e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecICRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecICRPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecICRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecICRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICReadinessProbe() { + } + + public AlertmanagerSpecICReadinessProbe(AlertmanagerSpecICRPExec exec, Integer failureThreshold, AlertmanagerSpecICRPGrpc grpc, AlertmanagerSpecICRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecICRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecICRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecICRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecICRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecICRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecICRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecICRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecICRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecICRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecICReadinessProbeBuilder edit() { + return new AlertmanagerSpecICReadinessProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICResources.java new file mode 100644 index 00000000000..261150e7b7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICResources() { + } + + public AlertmanagerSpecICResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecICResourcesBuilder edit() { + return new AlertmanagerSpecICResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCCapabilities.java new file mode 100644 index 00000000000..21ad4583be3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSCCapabilities() { + } + + public AlertmanagerSpecICSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public AlertmanagerSpecICSCCapabilitiesBuilder edit() { + return new AlertmanagerSpecICSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeLinuxOptions.java new file mode 100644 index 00000000000..5edd1278762 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSCSeLinuxOptions() { + } + + public AlertmanagerSpecICSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public AlertmanagerSpecICSCSeLinuxOptionsBuilder edit() { + return new AlertmanagerSpecICSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeccompProfile.java new file mode 100644 index 00000000000..41cd72139ef --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSCSeccompProfile() { + } + + public AlertmanagerSpecICSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecICSCSeccompProfileBuilder edit() { + return new AlertmanagerSpecICSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCWindowsOptions.java new file mode 100644 index 00000000000..0c5066713ea --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSCWindowsOptions() { + } + + public AlertmanagerSpecICSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public AlertmanagerSpecICSCWindowsOptionsBuilder edit() { + return new AlertmanagerSpecICSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPExec.java new file mode 100644 index 00000000000..bf68554fa4d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSPExec() { + } + + public AlertmanagerSpecICSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public AlertmanagerSpecICSPExecBuilder edit() { + return new AlertmanagerSpecICSPExecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPGrpc.java new file mode 100644 index 00000000000..a373e6acbd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSPGrpc() { + } + + public AlertmanagerSpecICSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public AlertmanagerSpecICSPGrpcBuilder edit() { + return new AlertmanagerSpecICSPGrpcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPHttpGet.java new file mode 100644 index 00000000000..a41754bebf6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSPHttpGet() { + } + + public AlertmanagerSpecICSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public AlertmanagerSpecICSPHttpGetBuilder edit() { + return new AlertmanagerSpecICSPHttpGetBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPTcpSocket.java new file mode 100644 index 00000000000..e2c2c0f510f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSPTcpSocket() { + } + + public AlertmanagerSpecICSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public AlertmanagerSpecICSPTcpSocketBuilder edit() { + return new AlertmanagerSpecICSPTcpSocketBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSecurityContext.java new file mode 100644 index 00000000000..d93303f3d34 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private AlertmanagerSpecICSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private AlertmanagerSpecICSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private AlertmanagerSpecICSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private AlertmanagerSpecICSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICSecurityContext() { + } + + public AlertmanagerSpecICSecurityContext(Boolean allowPrivilegeEscalation, AlertmanagerSpecICSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, AlertmanagerSpecICSCSeLinuxOptions seLinuxOptions, AlertmanagerSpecICSCSeccompProfile seccompProfile, AlertmanagerSpecICSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public AlertmanagerSpecICSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(AlertmanagerSpecICSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public AlertmanagerSpecICSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(AlertmanagerSpecICSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public AlertmanagerSpecICSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(AlertmanagerSpecICSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public AlertmanagerSpecICSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(AlertmanagerSpecICSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public AlertmanagerSpecICSecurityContextBuilder edit() { + return new AlertmanagerSpecICSecurityContextBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICStartupProbe.java new file mode 100644 index 00000000000..2b3b1a72ad0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private AlertmanagerSpecICSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private AlertmanagerSpecICSPGrpc grpc; + @JsonProperty("httpGet") + private AlertmanagerSpecICSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private AlertmanagerSpecICSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICStartupProbe() { + } + + public AlertmanagerSpecICStartupProbe(AlertmanagerSpecICSPExec exec, Integer failureThreshold, AlertmanagerSpecICSPGrpc grpc, AlertmanagerSpecICSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, AlertmanagerSpecICSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public AlertmanagerSpecICSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(AlertmanagerSpecICSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public AlertmanagerSpecICSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(AlertmanagerSpecICSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public AlertmanagerSpecICSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(AlertmanagerSpecICSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public AlertmanagerSpecICSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(AlertmanagerSpecICSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public AlertmanagerSpecICStartupProbeBuilder edit() { + return new AlertmanagerSpecICStartupProbeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICVolumeMounts.java new file mode 100644 index 00000000000..f0895a894ca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecICVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecICVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecICVolumeMounts() { + } + + public AlertmanagerSpecICVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public AlertmanagerSpecICVolumeMountsBuilder edit() { + return new AlertmanagerSpecICVolumeMountsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecICVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecImagePullSecrets.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecImagePullSecrets.java new file mode 100644 index 00000000000..fe78bb3e452 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecImagePullSecrets.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecImagePullSecrets implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecImagePullSecrets() { + } + + public AlertmanagerSpecImagePullSecrets(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecImagePullSecretsBuilder edit() { + return new AlertmanagerSpecImagePullSecretsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecImagePullSecretsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecInitContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecInitContainers.java new file mode 100644 index 00000000000..3c13fa4dc2f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecInitContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecInitContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private AlertmanagerSpecICLifecycle lifecycle; + @JsonProperty("livenessProbe") + private AlertmanagerSpecICLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private AlertmanagerSpecICReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private AlertmanagerSpecICResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private AlertmanagerSpecICSecurityContext securityContext; + @JsonProperty("startupProbe") + private AlertmanagerSpecICStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecInitContainers() { + } + + public AlertmanagerSpecInitContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, AlertmanagerSpecICLifecycle lifecycle, AlertmanagerSpecICLivenessProbe livenessProbe, String name, List ports, AlertmanagerSpecICReadinessProbe readinessProbe, List resizePolicy, AlertmanagerSpecICResources resources, String restartPolicy, AlertmanagerSpecICSecurityContext securityContext, AlertmanagerSpecICStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public AlertmanagerSpecICLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(AlertmanagerSpecICLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public AlertmanagerSpecICLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(AlertmanagerSpecICLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public AlertmanagerSpecICReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(AlertmanagerSpecICReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public AlertmanagerSpecICResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(AlertmanagerSpecICResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public AlertmanagerSpecICSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(AlertmanagerSpecICSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public AlertmanagerSpecICStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(AlertmanagerSpecICStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public AlertmanagerSpecInitContainersBuilder edit() { + return new AlertmanagerSpecInitContainersBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecInitContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecPodMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecPodMetadata.java new file mode 100644 index 00000000000..040dd747586 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecPodMetadata.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "labels", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecPodMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labels = new LinkedHashMap<>(); + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecPodMetadata() { + } + + public AlertmanagerSpecPodMetadata(Map annotations, Map labels, String name) { + super(); + this.annotations = annotations; + this.labels = labels; + this.name = name; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabels() { + return labels; + } + + @JsonProperty("labels") + public void setLabels(Map labels) { + this.labels = labels; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecPodMetadataBuilder edit() { + return new AlertmanagerSpecPodMetadataBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecPodMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecResources.java new file mode 100644 index 00000000000..05aa0e83535 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecResources() { + } + + public AlertmanagerSpecResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecResourcesBuilder edit() { + return new AlertmanagerSpecResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeLinuxOptions.java new file mode 100644 index 00000000000..33549e2a70b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSCSeLinuxOptions() { + } + + public AlertmanagerSpecSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public AlertmanagerSpecSCSeLinuxOptionsBuilder edit() { + return new AlertmanagerSpecSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeccompProfile.java new file mode 100644 index 00000000000..6818ca40319 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSCSeccompProfile() { + } + + public AlertmanagerSpecSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecSCSeccompProfileBuilder edit() { + return new AlertmanagerSpecSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCWindowsOptions.java new file mode 100644 index 00000000000..81e93806cf0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSCWindowsOptions() { + } + + public AlertmanagerSpecSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public AlertmanagerSpecSCWindowsOptionsBuilder edit() { + return new AlertmanagerSpecSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpec.java new file mode 100644 index 00000000000..8431f60598e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private AlertmanagerSpecSEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private AlertmanagerSpecSEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private AlertmanagerSpecSEVCTSpecResources resources; + @JsonProperty("selector") + private AlertmanagerSpecSEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVCTSpec() { + } + + public AlertmanagerSpecSEVCTSpec(List accessModes, AlertmanagerSpecSEVCTSpecDataSource dataSource, AlertmanagerSpecSEVCTSpecDataSourceRef dataSourceRef, AlertmanagerSpecSEVCTSpecResources resources, AlertmanagerSpecSEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public AlertmanagerSpecSEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(AlertmanagerSpecSEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public AlertmanagerSpecSEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(AlertmanagerSpecSEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public AlertmanagerSpecSEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(AlertmanagerSpecSEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public AlertmanagerSpecSEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(AlertmanagerSpecSEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecBuilder edit() { + return new AlertmanagerSpecSEVCTSpecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSource.java new file mode 100644 index 00000000000..853106ff770 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVCTSpecDataSource() { + } + + public AlertmanagerSpecSEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecDataSourceBuilder edit() { + return new AlertmanagerSpecSEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..b64e7cdc762 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVCTSpecDataSourceRef() { + } + + public AlertmanagerSpecSEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecDataSourceRefBuilder edit() { + return new AlertmanagerSpecSEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecResources.java new file mode 100644 index 00000000000..6ab4705ef62 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVCTSpecResources() { + } + + public AlertmanagerSpecSEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecResourcesBuilder edit() { + return new AlertmanagerSpecSEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecSelector.java new file mode 100644 index 00000000000..8898f052b08 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVCTSpecSelector() { + } + + public AlertmanagerSpecSEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecSelectorBuilder edit() { + return new AlertmanagerSpecSEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVolumeClaimTemplate.java new file mode 100644 index 00000000000..bb26568d28a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private AlertmanagerSpecSEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEVolumeClaimTemplate() { + } + + public AlertmanagerSpecSEVolumeClaimTemplate(Object metadata, AlertmanagerSpecSEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public AlertmanagerSpecSEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(AlertmanagerSpecSEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public AlertmanagerSpecSEVolumeClaimTemplateBuilder edit() { + return new AlertmanagerSpecSEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEmptyDir.java new file mode 100644 index 00000000000..f3aa85dec31 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEmptyDir() { + } + + public AlertmanagerSpecSEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public AlertmanagerSpecSEmptyDirBuilder edit() { + return new AlertmanagerSpecSEmptyDirBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEphemeral.java new file mode 100644 index 00000000000..a58853bc285 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private AlertmanagerSpecSEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSEphemeral() { + } + + public AlertmanagerSpecSEphemeral(AlertmanagerSpecSEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public AlertmanagerSpecSEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(AlertmanagerSpecSEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public AlertmanagerSpecSEphemeralBuilder edit() { + return new AlertmanagerSpecSEphemeralBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTMetadata.java new file mode 100644 index 00000000000..7f7a53b933d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTMetadata.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "labels", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labels = new LinkedHashMap<>(); + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTMetadata() { + } + + public AlertmanagerSpecSVCTMetadata(Map annotations, Map labels, String name) { + super(); + this.annotations = annotations; + this.labels = labels; + this.name = name; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabels() { + return labels; + } + + @JsonProperty("labels") + public void setLabels(Map labels) { + this.labels = labels; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecSVCTMetadataBuilder edit() { + return new AlertmanagerSpecSVCTMetadataBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpec.java new file mode 100644 index 00000000000..97f054688e8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private AlertmanagerSpecSVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private AlertmanagerSpecSVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private AlertmanagerSpecSVCTSpecResources resources; + @JsonProperty("selector") + private AlertmanagerSpecSVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTSpec() { + } + + public AlertmanagerSpecSVCTSpec(List accessModes, AlertmanagerSpecSVCTSpecDataSource dataSource, AlertmanagerSpecSVCTSpecDataSourceRef dataSourceRef, AlertmanagerSpecSVCTSpecResources resources, AlertmanagerSpecSVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public AlertmanagerSpecSVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(AlertmanagerSpecSVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public AlertmanagerSpecSVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(AlertmanagerSpecSVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public AlertmanagerSpecSVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(AlertmanagerSpecSVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public AlertmanagerSpecSVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(AlertmanagerSpecSVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecBuilder edit() { + return new AlertmanagerSpecSVCTSpecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSource.java new file mode 100644 index 00000000000..5d0f596a857 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTSpecDataSource() { + } + + public AlertmanagerSpecSVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecDataSourceBuilder edit() { + return new AlertmanagerSpecSVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..7df360805de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTSpecDataSourceRef() { + } + + public AlertmanagerSpecSVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecDataSourceRefBuilder edit() { + return new AlertmanagerSpecSVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecResources.java new file mode 100644 index 00000000000..c2296d5b81c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTSpecResources() { + } + + public AlertmanagerSpecSVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecResourcesBuilder edit() { + return new AlertmanagerSpecSVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecSelector.java new file mode 100644 index 00000000000..d84b53ce40a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTSpecSelector() { + } + + public AlertmanagerSpecSVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecSelectorBuilder edit() { + return new AlertmanagerSpecSVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatus.java new file mode 100644 index 00000000000..a8fe170f6c2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatus.java @@ -0,0 +1,222 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "allocatedResourceStatuses", + "allocatedResources", + "capacity", + "conditions", + "currentVolumeAttributesClassName", + "modifyVolumeStatus", + "phase" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTStatus implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResourceStatuses = new LinkedHashMap<>(); + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResources = new LinkedHashMap<>(); + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map capacity = new LinkedHashMap<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("currentVolumeAttributesClassName") + private String currentVolumeAttributesClassName; + @JsonProperty("modifyVolumeStatus") + private AlertmanagerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus; + @JsonProperty("phase") + private String phase; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTStatus() { + } + + public AlertmanagerSpecSVCTStatus(List accessModes, Map allocatedResourceStatuses, Map allocatedResources, Map capacity, List conditions, String currentVolumeAttributesClassName, AlertmanagerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus, String phase) { + super(); + this.accessModes = accessModes; + this.allocatedResourceStatuses = allocatedResourceStatuses; + this.allocatedResources = allocatedResources; + this.capacity = capacity; + this.conditions = conditions; + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + this.modifyVolumeStatus = modifyVolumeStatus; + this.phase = phase; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResourceStatuses() { + return allocatedResourceStatuses; + } + + @JsonProperty("allocatedResourceStatuses") + public void setAllocatedResourceStatuses(Map allocatedResourceStatuses) { + this.allocatedResourceStatuses = allocatedResourceStatuses; + } + + @JsonProperty("allocatedResources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResources() { + return allocatedResources; + } + + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setAllocatedResources(Map allocatedResources) { + this.allocatedResources = allocatedResources; + } + + @JsonProperty("capacity") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getCapacity() { + return capacity; + } + + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setCapacity(Map capacity) { + this.capacity = capacity; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("currentVolumeAttributesClassName") + public String getCurrentVolumeAttributesClassName() { + return currentVolumeAttributesClassName; + } + + @JsonProperty("currentVolumeAttributesClassName") + public void setCurrentVolumeAttributesClassName(String currentVolumeAttributesClassName) { + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + } + + @JsonProperty("modifyVolumeStatus") + public AlertmanagerSpecSVCTStatusModifyVolumeStatus getModifyVolumeStatus() { + return modifyVolumeStatus; + } + + @JsonProperty("modifyVolumeStatus") + public void setModifyVolumeStatus(AlertmanagerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus) { + this.modifyVolumeStatus = modifyVolumeStatus; + } + + @JsonProperty("phase") + public String getPhase() { + return phase; + } + + @JsonProperty("phase") + public void setPhase(String phase) { + this.phase = phase; + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusBuilder edit() { + return new AlertmanagerSpecSVCTStatusBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusConditions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusConditions.java new file mode 100644 index 00000000000..c65db7394c6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "lastProbeTime", + "lastTransitionTime", + "message", + "reason", + "status", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTStatusConditions implements Editable , KubernetesResource +{ + + @JsonProperty("lastProbeTime") + private String lastProbeTime; + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("message") + private String message; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTStatusConditions() { + } + + public AlertmanagerSpecSVCTStatusConditions(String lastProbeTime, String lastTransitionTime, String message, String reason, String status, String type) { + super(); + this.lastProbeTime = lastProbeTime; + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastProbeTime") + public String getLastProbeTime() { + return lastProbeTime; + } + + @JsonProperty("lastProbeTime") + public void setLastProbeTime(String lastProbeTime) { + this.lastProbeTime = lastProbeTime; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusConditionsBuilder edit() { + return new AlertmanagerSpecSVCTStatusConditionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusConditionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusModifyVolumeStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusModifyVolumeStatus.java new file mode 100644 index 00000000000..6de9f4d4fc5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVCTStatusModifyVolumeStatus.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "status", + "targetVolumeAttributesClassName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecSVCTStatusModifyVolumeStatus implements Editable , KubernetesResource +{ + + @JsonProperty("status") + private String status; + @JsonProperty("targetVolumeAttributesClassName") + private String targetVolumeAttributesClassName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSVCTStatusModifyVolumeStatus() { + } + + public AlertmanagerSpecSVCTStatusModifyVolumeStatus(String status, String targetVolumeAttributesClassName) { + super(); + this.status = status; + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("targetVolumeAttributesClassName") + public String getTargetVolumeAttributesClassName() { + return targetVolumeAttributesClassName; + } + + @JsonProperty("targetVolumeAttributesClassName") + public void setTargetVolumeAttributesClassName(String targetVolumeAttributesClassName) { + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusModifyVolumeStatusBuilder edit() { + return new AlertmanagerSpecSVCTStatusModifyVolumeStatusBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSVCTStatusModifyVolumeStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVolumeClaimTemplate.java similarity index 66% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVolumeClaimTemplate.java index e35518ec6a9..8bb76d5692a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedPersistentVolumeClaim.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecSVolumeClaimTemplate.java @@ -20,16 +20,10 @@ import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaimSpec; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaimStatus; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.model.annotation.Group; -import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; -import io.sundr.transform.annotations.TemplateTransformation; -import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -60,35 +54,20 @@ @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) -@TemplateTransformations({ - @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) -}) -@Version("v1") -@Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class EmbeddedPersistentVolumeClaim implements Editable , KubernetesResource +public class AlertmanagerSpecSVolumeClaimTemplate implements Editable , KubernetesResource { - /** - * - * (Required) - * - */ @JsonProperty("apiVersion") - private String apiVersion = "monitoring.coreos.com/v1"; - /** - * - * (Required) - * - */ + private String apiVersion; @JsonProperty("kind") - private String kind = "EmbeddedPersistentVolumeClaim"; + private String kind; @JsonProperty("metadata") - private EmbeddedObjectMetadata metadata; + private AlertmanagerSpecSVCTMetadata metadata; @JsonProperty("spec") - private PersistentVolumeClaimSpec spec; + private AlertmanagerSpecSVCTSpec spec; @JsonProperty("status") - private PersistentVolumeClaimStatus status; + private AlertmanagerSpecSVCTStatus status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -96,10 +75,10 @@ public class EmbeddedPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("fsGroup") + private Long fsGroup; + @JsonProperty("fsGroupChangePolicy") + private String fsGroupChangePolicy; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private AlertmanagerSpecSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private AlertmanagerSpecSCSeccompProfile seccompProfile; + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List supplementalGroups = new ArrayList<>(); + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sysctls = new ArrayList<>(); + @JsonProperty("windowsOptions") + private AlertmanagerSpecSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecSecurityContext() { + } + + public AlertmanagerSpecSecurityContext(Long fsGroup, String fsGroupChangePolicy, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, AlertmanagerSpecSCSeLinuxOptions seLinuxOptions, AlertmanagerSpecSCSeccompProfile seccompProfile, List supplementalGroups, List sysctls, AlertmanagerSpecSCWindowsOptions windowsOptions) { + super(); + this.fsGroup = fsGroup; + this.fsGroupChangePolicy = fsGroupChangePolicy; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.supplementalGroups = supplementalGroups; + this.sysctls = sysctls; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("fsGroup") + public Long getFsGroup() { + return fsGroup; + } + + @JsonProperty("fsGroup") + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @JsonProperty("fsGroupChangePolicy") + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + @JsonProperty("fsGroupChangePolicy") + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public AlertmanagerSpecSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(AlertmanagerSpecSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public AlertmanagerSpecSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(AlertmanagerSpecSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSupplementalGroups() { + return supplementalGroups; + } + + @JsonProperty("supplementalGroups") + public void setSupplementalGroups(List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSysctls() { + return sysctls; + } + + @JsonProperty("sysctls") + public void setSysctls(List sysctls) { + this.sysctls = sysctls; + } + + @JsonProperty("windowsOptions") + public AlertmanagerSpecSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(AlertmanagerSpecSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public AlertmanagerSpecSecurityContextBuilder edit() { + return new AlertmanagerSpecSecurityContextBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecStorage.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecStorage.java new file mode 100644 index 00000000000..a939067aa73 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecStorage.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "disableMountSubPath", + "emptyDir", + "ephemeral", + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecStorage implements Editable , KubernetesResource +{ + + @JsonProperty("disableMountSubPath") + private Boolean disableMountSubPath; + @JsonProperty("emptyDir") + private AlertmanagerSpecSEmptyDir emptyDir; + @JsonProperty("ephemeral") + private AlertmanagerSpecSEphemeral ephemeral; + @JsonProperty("volumeClaimTemplate") + private AlertmanagerSpecSVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecStorage() { + } + + public AlertmanagerSpecStorage(Boolean disableMountSubPath, AlertmanagerSpecSEmptyDir emptyDir, AlertmanagerSpecSEphemeral ephemeral, AlertmanagerSpecSVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.disableMountSubPath = disableMountSubPath; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("disableMountSubPath") + public Boolean getDisableMountSubPath() { + return disableMountSubPath; + } + + @JsonProperty("disableMountSubPath") + public void setDisableMountSubPath(Boolean disableMountSubPath) { + this.disableMountSubPath = disableMountSubPath; + } + + @JsonProperty("emptyDir") + public AlertmanagerSpecSEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(AlertmanagerSpecSEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public AlertmanagerSpecSEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(AlertmanagerSpecSEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("volumeClaimTemplate") + public AlertmanagerSpecSVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(AlertmanagerSpecSVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public AlertmanagerSpecStorageBuilder edit() { + return new AlertmanagerSpecStorageBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecStorageBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTSCLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTSCLabelSelector.java new file mode 100644 index 00000000000..53a321f76fa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTSCLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecTSCLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecTSCLabelSelector() { + } + + public AlertmanagerSpecTSCLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecTSCLabelSelectorBuilder edit() { + return new AlertmanagerSpecTSCLabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecTSCLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTolerations.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTolerations.java new file mode 100644 index 00000000000..b19c7f36719 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTolerations.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecTolerations() { + } + + public AlertmanagerSpecTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerSpecTolerationsBuilder edit() { + return new AlertmanagerSpecTolerationsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecTolerationsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTopologySpreadConstraints.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTopologySpreadConstraints.java new file mode 100644 index 00000000000..a86b93711d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecTopologySpreadConstraints.java @@ -0,0 +1,210 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "maxSkew", + "minDomains", + "nodeAffinityPolicy", + "nodeTaintsPolicy", + "topologyKey", + "whenUnsatisfiable" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecTopologySpreadConstraints implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecTSCLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("maxSkew") + private Integer maxSkew; + @JsonProperty("minDomains") + private Integer minDomains; + @JsonProperty("nodeAffinityPolicy") + private String nodeAffinityPolicy; + @JsonProperty("nodeTaintsPolicy") + private String nodeTaintsPolicy; + @JsonProperty("topologyKey") + private String topologyKey; + @JsonProperty("whenUnsatisfiable") + private String whenUnsatisfiable; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecTopologySpreadConstraints() { + } + + public AlertmanagerSpecTopologySpreadConstraints(AlertmanagerSpecTSCLabelSelector labelSelector, List matchLabelKeys, Integer maxSkew, Integer minDomains, String nodeAffinityPolicy, String nodeTaintsPolicy, String topologyKey, String whenUnsatisfiable) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.maxSkew = maxSkew; + this.minDomains = minDomains; + this.nodeAffinityPolicy = nodeAffinityPolicy; + this.nodeTaintsPolicy = nodeTaintsPolicy; + this.topologyKey = topologyKey; + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecTSCLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecTSCLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("maxSkew") + public Integer getMaxSkew() { + return maxSkew; + } + + @JsonProperty("maxSkew") + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @JsonProperty("minDomains") + public Integer getMinDomains() { + return minDomains; + } + + @JsonProperty("minDomains") + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @JsonProperty("nodeAffinityPolicy") + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + @JsonProperty("nodeAffinityPolicy") + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonProperty("whenUnsatisfiable") + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + @JsonProperty("whenUnsatisfiable") + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonIgnore + public AlertmanagerSpecTopologySpreadConstraintsBuilder edit() { + return new AlertmanagerSpecTopologySpreadConstraintsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecTopologySpreadConstraintsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAwsElasticBlockStore.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAwsElasticBlockStore.java new file mode 100644 index 00000000000..9d602a5a06a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAwsElasticBlockStore.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVAwsElasticBlockStore implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVAwsElasticBlockStore() { + } + + public AlertmanagerSpecVAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.partition = partition; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public AlertmanagerSpecVAwsElasticBlockStoreBuilder edit() { + return new AlertmanagerSpecVAwsElasticBlockStoreBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVAwsElasticBlockStoreBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureDisk.java new file mode 100644 index 00000000000..cdcccc0da6d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureDisk.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "cachingMode", + "diskName", + "diskURI", + "fsType", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVAzureDisk implements Editable , KubernetesResource +{ + + @JsonProperty("cachingMode") + private String cachingMode; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("diskURI") + private String diskURI; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("kind") + private String kind; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVAzureDisk() { + } + + public AlertmanagerSpecVAzureDisk(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly) { + super(); + this.cachingMode = cachingMode; + this.diskName = diskName; + this.diskURI = diskURI; + this.fsType = fsType; + this.kind = kind; + this.readOnly = readOnly; + } + + @JsonProperty("cachingMode") + public String getCachingMode() { + return cachingMode; + } + + @JsonProperty("cachingMode") + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("diskURI") + public String getDiskURI() { + return diskURI; + } + + @JsonProperty("diskURI") + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public AlertmanagerSpecVAzureDiskBuilder edit() { + return new AlertmanagerSpecVAzureDiskBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVAzureDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureFile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureFile.java new file mode 100644 index 00000000000..c33e39f5bc5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVAzureFile.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "readOnly", + "secretName", + "shareName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVAzureFile implements Editable , KubernetesResource +{ + + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("shareName") + private String shareName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVAzureFile() { + } + + public AlertmanagerSpecVAzureFile(Boolean readOnly, String secretName, String shareName) { + super(); + this.readOnly = readOnly; + this.secretName = secretName; + this.shareName = shareName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("shareName") + public String getShareName() { + return shareName; + } + + @JsonProperty("shareName") + public void setShareName(String shareName) { + this.shareName = shareName; + } + + @JsonIgnore + public AlertmanagerSpecVAzureFileBuilder edit() { + return new AlertmanagerSpecVAzureFileBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVAzureFileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCNodePublishSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCNodePublishSecretRef.java new file mode 100644 index 00000000000..0834e703a96 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCNodePublishSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCNodePublishSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCNodePublishSecretRef() { + } + + public AlertmanagerSpecVCNodePublishSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVCNodePublishSecretRefBuilder edit() { + return new AlertmanagerSpecVCNodePublishSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCNodePublishSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef.java new file mode 100644 index 00000000000..4325d08b3b7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCSecretRef() { + } + + public AlertmanagerSpecVCSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVCSecretRefBuilder edit() { + return new AlertmanagerSpecVCSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef_1.java new file mode 100644 index 00000000000..9b7228ee866 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCSecretRef_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCSecretRef_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCSecretRef_1() { + } + + public AlertmanagerSpecVCSecretRef_1(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVCSecretRef_1Builder edit() { + return new AlertmanagerSpecVCSecretRef_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCSecretRef_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCephfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCephfs.java new file mode 100644 index 00000000000..2bcf05d690e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCephfs.java @@ -0,0 +1,182 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "monitors", + "path", + "readOnly", + "secretFile", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCephfs implements Editable , KubernetesResource +{ + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretFile") + private String secretFile; + @JsonProperty("secretRef") + private AlertmanagerSpecVCSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCephfs() { + } + + public AlertmanagerSpecVCephfs(List monitors, String path, Boolean readOnly, String secretFile, AlertmanagerSpecVCSecretRef secretRef, String user) { + super(); + this.monitors = monitors; + this.path = path; + this.readOnly = readOnly; + this.secretFile = secretFile; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretFile") + public String getSecretFile() { + return secretFile; + } + + @JsonProperty("secretFile") + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVCSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVCSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public AlertmanagerSpecVCephfsBuilder edit() { + return new AlertmanagerSpecVCephfsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCephfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCinder.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCinder.java new file mode 100644 index 00000000000..b8059a48c0b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCinder.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCinder implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVCSecretRef_1 secretRef; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCinder() { + } + + public AlertmanagerSpecVCinder(String fsType, Boolean readOnly, AlertmanagerSpecVCSecretRef_1 secretRef, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVCSecretRef_1 getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVCSecretRef_1 secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public AlertmanagerSpecVCinderBuilder edit() { + return new AlertmanagerSpecVCinderBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCinderBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVConfigMap.java new file mode 100644 index 00000000000..d5fc2a682af --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVConfigMap.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVConfigMap() { + } + + public AlertmanagerSpecVConfigMap(Integer defaultMode, List items, String name, Boolean optional) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecVConfigMapBuilder edit() { + return new AlertmanagerSpecVConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCsi.java new file mode 100644 index 00000000000..e000c75095f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVCsi.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "nodePublishSecretRef", + "readOnly", + "volumeAttributes" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVCsi implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("nodePublishSecretRef") + private AlertmanagerSpecVCNodePublishSecretRef nodePublishSecretRef; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map volumeAttributes = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVCsi() { + } + + public AlertmanagerSpecVCsi(String driver, String fsType, AlertmanagerSpecVCNodePublishSecretRef nodePublishSecretRef, Boolean readOnly, Map volumeAttributes) { + super(); + this.driver = driver; + this.fsType = fsType; + this.nodePublishSecretRef = nodePublishSecretRef; + this.readOnly = readOnly; + this.volumeAttributes = volumeAttributes; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("nodePublishSecretRef") + public AlertmanagerSpecVCNodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + @JsonProperty("nodePublishSecretRef") + public void setNodePublishSecretRef(AlertmanagerSpecVCNodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getVolumeAttributes() { + return volumeAttributes; + } + + @JsonProperty("volumeAttributes") + public void setVolumeAttributes(Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } + + @JsonIgnore + public AlertmanagerSpecVCsiBuilder edit() { + return new AlertmanagerSpecVCsiBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVCsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIFieldRef.java new file mode 100644 index 00000000000..666a3665d75 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVDAIFieldRef() { + } + + public AlertmanagerSpecVDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public AlertmanagerSpecVDAIFieldRefBuilder edit() { + return new AlertmanagerSpecVDAIFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIResourceFieldRef.java new file mode 100644 index 00000000000..046d7ea1547 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVDAIResourceFieldRef() { + } + + public AlertmanagerSpecVDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public AlertmanagerSpecVDAIResourceFieldRefBuilder edit() { + return new AlertmanagerSpecVDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAItems.java new file mode 100644 index 00000000000..a6308bd2498 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private AlertmanagerSpecVDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private AlertmanagerSpecVDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVDAItems() { + } + + public AlertmanagerSpecVDAItems(AlertmanagerSpecVDAIFieldRef fieldRef, Integer mode, String path, AlertmanagerSpecVDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public AlertmanagerSpecVDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(AlertmanagerSpecVDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public AlertmanagerSpecVDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(AlertmanagerSpecVDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public AlertmanagerSpecVDAItemsBuilder edit() { + return new AlertmanagerSpecVDAItemsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDownwardAPI.java new file mode 100644 index 00000000000..dc5c42fb7b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVDownwardAPI.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVDownwardAPI() { + } + + public AlertmanagerSpecVDownwardAPI(Integer defaultMode, List items) { + super(); + this.defaultMode = defaultMode; + this.items = items; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public AlertmanagerSpecVDownwardAPIBuilder edit() { + return new AlertmanagerSpecVDownwardAPIBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpec.java new file mode 100644 index 00000000000..5736a372b04 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private AlertmanagerSpecVEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private AlertmanagerSpecVEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private AlertmanagerSpecVEVCTSpecResources resources; + @JsonProperty("selector") + private AlertmanagerSpecVEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVCTSpec() { + } + + public AlertmanagerSpecVEVCTSpec(List accessModes, AlertmanagerSpecVEVCTSpecDataSource dataSource, AlertmanagerSpecVEVCTSpecDataSourceRef dataSourceRef, AlertmanagerSpecVEVCTSpecResources resources, AlertmanagerSpecVEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public AlertmanagerSpecVEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(AlertmanagerSpecVEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public AlertmanagerSpecVEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(AlertmanagerSpecVEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public AlertmanagerSpecVEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(AlertmanagerSpecVEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public AlertmanagerSpecVEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(AlertmanagerSpecVEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecBuilder edit() { + return new AlertmanagerSpecVEVCTSpecBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSource.java new file mode 100644 index 00000000000..25cdeb292df --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVCTSpecDataSource() { + } + + public AlertmanagerSpecVEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecDataSourceBuilder edit() { + return new AlertmanagerSpecVEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..553494bc5bc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVCTSpecDataSourceRef() { + } + + public AlertmanagerSpecVEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecDataSourceRefBuilder edit() { + return new AlertmanagerSpecVEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecResources.java new file mode 100644 index 00000000000..a11c8e6c0ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVCTSpecResources() { + } + + public AlertmanagerSpecVEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecResourcesBuilder edit() { + return new AlertmanagerSpecVEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecSelector.java new file mode 100644 index 00000000000..94cc98f9af3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVCTSpecSelector() { + } + + public AlertmanagerSpecVEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecSelectorBuilder edit() { + return new AlertmanagerSpecVEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVolumeClaimTemplate.java new file mode 100644 index 00000000000..a783e53cb7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private AlertmanagerSpecVEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEVolumeClaimTemplate() { + } + + public AlertmanagerSpecVEVolumeClaimTemplate(Object metadata, AlertmanagerSpecVEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public AlertmanagerSpecVEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(AlertmanagerSpecVEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public AlertmanagerSpecVEVolumeClaimTemplateBuilder edit() { + return new AlertmanagerSpecVEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEmptyDir.java new file mode 100644 index 00000000000..fb1745445c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEmptyDir() { + } + + public AlertmanagerSpecVEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public AlertmanagerSpecVEmptyDirBuilder edit() { + return new AlertmanagerSpecVEmptyDirBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEphemeral.java new file mode 100644 index 00000000000..68d85242a9c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private AlertmanagerSpecVEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVEphemeral() { + } + + public AlertmanagerSpecVEphemeral(AlertmanagerSpecVEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public AlertmanagerSpecVEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(AlertmanagerSpecVEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public AlertmanagerSpecVEphemeralBuilder edit() { + return new AlertmanagerSpecVEphemeralBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFVSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFVSecretRef.java new file mode 100644 index 00000000000..16f530a5cf3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFVSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVFVSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVFVSecretRef() { + } + + public AlertmanagerSpecVFVSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVFVSecretRefBuilder edit() { + return new AlertmanagerSpecVFVSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVFVSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFc.java new file mode 100644 index 00000000000..09d7ed6473a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFc.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "lun", + "readOnly", + "targetWWNs", + "wwids" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVFc implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetWWNs = new ArrayList<>(); + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List wwids = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVFc() { + } + + public AlertmanagerSpecVFc(String fsType, Integer lun, Boolean readOnly, List targetWWNs, List wwids) { + super(); + this.fsType = fsType; + this.lun = lun; + this.readOnly = readOnly; + this.targetWWNs = targetWWNs; + this.wwids = wwids; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetWWNs() { + return targetWWNs; + } + + @JsonProperty("targetWWNs") + public void setTargetWWNs(List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWwids() { + return wwids; + } + + @JsonProperty("wwids") + public void setWwids(List wwids) { + this.wwids = wwids; + } + + @JsonIgnore + public AlertmanagerSpecVFcBuilder edit() { + return new AlertmanagerSpecVFcBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVFcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlexVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlexVolume.java new file mode 100644 index 00000000000..7bca37861f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlexVolume.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "options", + "readOnly", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVFlexVolume implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map options = new LinkedHashMap<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVFVSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVFlexVolume() { + } + + public AlertmanagerSpecVFlexVolume(String driver, String fsType, Map options, Boolean readOnly, AlertmanagerSpecVFVSecretRef secretRef) { + super(); + this.driver = driver; + this.fsType = fsType; + this.options = options; + this.readOnly = readOnly; + this.secretRef = secretRef; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(Map options) { + this.options = options; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVFVSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVFVSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public AlertmanagerSpecVFlexVolumeBuilder edit() { + return new AlertmanagerSpecVFlexVolumeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVFlexVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlocker.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlocker.java new file mode 100644 index 00000000000..66a954f9ef4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVFlocker.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "datasetName", + "datasetUUID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVFlocker implements Editable , KubernetesResource +{ + + @JsonProperty("datasetName") + private String datasetName; + @JsonProperty("datasetUUID") + private String datasetUUID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVFlocker() { + } + + public AlertmanagerSpecVFlocker(String datasetName, String datasetUUID) { + super(); + this.datasetName = datasetName; + this.datasetUUID = datasetUUID; + } + + @JsonProperty("datasetName") + public String getDatasetName() { + return datasetName; + } + + @JsonProperty("datasetName") + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @JsonProperty("datasetUUID") + public String getDatasetUUID() { + return datasetUUID; + } + + @JsonProperty("datasetUUID") + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } + + @JsonIgnore + public AlertmanagerSpecVFlockerBuilder edit() { + return new AlertmanagerSpecVFlockerBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVFlockerBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGcePersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGcePersistentDisk.java new file mode 100644 index 00000000000..ffc8e9bb608 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGcePersistentDisk.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "pdName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVGcePersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("pdName") + private String pdName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVGcePersistentDisk() { + } + + public AlertmanagerSpecVGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly) { + super(); + this.fsType = fsType; + this.partition = partition; + this.pdName = pdName; + this.readOnly = readOnly; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("pdName") + public String getPdName() { + return pdName; + } + + @JsonProperty("pdName") + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public AlertmanagerSpecVGcePersistentDiskBuilder edit() { + return new AlertmanagerSpecVGcePersistentDiskBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVGcePersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGitRepo.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGitRepo.java new file mode 100644 index 00000000000..96a5d7f937d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGitRepo.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "directory", + "repository", + "revision" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVGitRepo implements Editable , KubernetesResource +{ + + @JsonProperty("directory") + private String directory; + @JsonProperty("repository") + private String repository; + @JsonProperty("revision") + private String revision; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVGitRepo() { + } + + public AlertmanagerSpecVGitRepo(String directory, String repository, String revision) { + super(); + this.directory = directory; + this.repository = repository; + this.revision = revision; + } + + @JsonProperty("directory") + public String getDirectory() { + return directory; + } + + @JsonProperty("directory") + public void setDirectory(String directory) { + this.directory = directory; + } + + @JsonProperty("repository") + public String getRepository() { + return repository; + } + + @JsonProperty("repository") + public void setRepository(String repository) { + this.repository = repository; + } + + @JsonProperty("revision") + public String getRevision() { + return revision; + } + + @JsonProperty("revision") + public void setRevision(String revision) { + this.revision = revision; + } + + @JsonIgnore + public AlertmanagerSpecVGitRepoBuilder edit() { + return new AlertmanagerSpecVGitRepoBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVGitRepoBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGlusterfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGlusterfs.java new file mode 100644 index 00000000000..ac29dff06f7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVGlusterfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "endpoints", + "path", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVGlusterfs implements Editable , KubernetesResource +{ + + @JsonProperty("endpoints") + private String endpoints; + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVGlusterfs() { + } + + public AlertmanagerSpecVGlusterfs(String endpoints, String path, Boolean readOnly) { + super(); + this.endpoints = endpoints; + this.path = path; + this.readOnly = readOnly; + } + + @JsonProperty("endpoints") + public String getEndpoints() { + return endpoints; + } + + @JsonProperty("endpoints") + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public AlertmanagerSpecVGlusterfsBuilder edit() { + return new AlertmanagerSpecVGlusterfsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVGlusterfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVHostPath.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVHostPath.java new file mode 100644 index 00000000000..76b44d65f78 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVHostPath.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVHostPath implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVHostPath() { + } + + public AlertmanagerSpecVHostPath(String path, String type) { + super(); + this.path = path; + this.type = type; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerSpecVHostPathBuilder edit() { + return new AlertmanagerSpecVHostPathBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVHostPathBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVISecretRef.java new file mode 100644 index 00000000000..99c18edb115 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVISecretRef() { + } + + public AlertmanagerSpecVISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVISecretRefBuilder edit() { + return new AlertmanagerSpecVISecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVIscsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVIscsi.java new file mode 100644 index 00000000000..f43a1e98127 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVIscsi.java @@ -0,0 +1,252 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "chapAuthDiscovery", + "chapAuthSession", + "fsType", + "initiatorName", + "iqn", + "iscsiInterface", + "lun", + "portals", + "readOnly", + "secretRef", + "targetPortal" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVIscsi implements Editable , KubernetesResource +{ + + @JsonProperty("chapAuthDiscovery") + private Boolean chapAuthDiscovery; + @JsonProperty("chapAuthSession") + private Boolean chapAuthSession; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("initiatorName") + private String initiatorName; + @JsonProperty("iqn") + private String iqn; + @JsonProperty("iscsiInterface") + private String iscsiInterface; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List portals = new ArrayList<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVISecretRef secretRef; + @JsonProperty("targetPortal") + private String targetPortal; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVIscsi() { + } + + public AlertmanagerSpecVIscsi(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List portals, Boolean readOnly, AlertmanagerSpecVISecretRef secretRef, String targetPortal) { + super(); + this.chapAuthDiscovery = chapAuthDiscovery; + this.chapAuthSession = chapAuthSession; + this.fsType = fsType; + this.initiatorName = initiatorName; + this.iqn = iqn; + this.iscsiInterface = iscsiInterface; + this.lun = lun; + this.portals = portals; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.targetPortal = targetPortal; + } + + @JsonProperty("chapAuthDiscovery") + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + @JsonProperty("chapAuthDiscovery") + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @JsonProperty("chapAuthSession") + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + @JsonProperty("chapAuthSession") + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("initiatorName") + public String getInitiatorName() { + return initiatorName; + } + + @JsonProperty("initiatorName") + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @JsonProperty("iqn") + public String getIqn() { + return iqn; + } + + @JsonProperty("iqn") + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @JsonProperty("iscsiInterface") + public String getIscsiInterface() { + return iscsiInterface; + } + + @JsonProperty("iscsiInterface") + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPortals() { + return portals; + } + + @JsonProperty("portals") + public void setPortals(List portals) { + this.portals = portals; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("targetPortal") + public String getTargetPortal() { + return targetPortal; + } + + @JsonProperty("targetPortal") + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } + + @JsonIgnore + public AlertmanagerSpecVIscsiBuilder edit() { + return new AlertmanagerSpecVIscsiBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVIscsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVNfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVNfs.java new file mode 100644 index 00000000000..cdf1ebf4171 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVNfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "readOnly", + "server" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVNfs implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("server") + private String server; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVNfs() { + } + + public AlertmanagerSpecVNfs(String path, Boolean readOnly, String server) { + super(); + this.path = path; + this.readOnly = readOnly; + this.server = server; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("server") + public String getServer() { + return server; + } + + @JsonProperty("server") + public void setServer(String server) { + this.server = server; + } + + @JsonIgnore + public AlertmanagerSpecVNfsBuilder edit() { + return new AlertmanagerSpecVNfsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVNfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSCTBLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSCTBLabelSelector.java new file mode 100644 index 00000000000..16c4d4da163 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSCTBLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSCTBLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSCTBLabelSelector() { + } + + public AlertmanagerSpecVPSCTBLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public AlertmanagerSpecVPSCTBLabelSelectorBuilder edit() { + return new AlertmanagerSpecVPSCTBLabelSelectorBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSCTBLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSClusterTrustBundle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSClusterTrustBundle.java new file mode 100644 index 00000000000..953eaa1c2a3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSClusterTrustBundle.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "name", + "optional", + "path", + "signerName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSClusterTrustBundle implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private AlertmanagerSpecVPSCTBLabelSelector labelSelector; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("path") + private String path; + @JsonProperty("signerName") + private String signerName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSClusterTrustBundle() { + } + + public AlertmanagerSpecVPSClusterTrustBundle(AlertmanagerSpecVPSCTBLabelSelector labelSelector, String name, Boolean optional, String path, String signerName) { + super(); + this.labelSelector = labelSelector; + this.name = name; + this.optional = optional; + this.path = path; + this.signerName = signerName; + } + + @JsonProperty("labelSelector") + public AlertmanagerSpecVPSCTBLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(AlertmanagerSpecVPSCTBLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("signerName") + public String getSignerName() { + return signerName; + } + + @JsonProperty("signerName") + public void setSignerName(String signerName) { + this.signerName = signerName; + } + + @JsonIgnore + public AlertmanagerSpecVPSClusterTrustBundleBuilder edit() { + return new AlertmanagerSpecVPSClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSClusterTrustBundleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSConfigMap.java new file mode 100644 index 00000000000..09f1de43d5a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSConfigMap.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSConfigMap() { + } + + public AlertmanagerSpecVPSConfigMap(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecVPSConfigMapBuilder edit() { + return new AlertmanagerSpecVPSConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIFieldRef.java new file mode 100644 index 00000000000..fe3b3455b63 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSDAIFieldRef() { + } + + public AlertmanagerSpecVPSDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public AlertmanagerSpecVPSDAIFieldRefBuilder edit() { + return new AlertmanagerSpecVPSDAIFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIResourceFieldRef.java new file mode 100644 index 00000000000..a4a34b8ccd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSDAIResourceFieldRef() { + } + + public AlertmanagerSpecVPSDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public AlertmanagerSpecVPSDAIResourceFieldRefBuilder edit() { + return new AlertmanagerSpecVPSDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAItems.java new file mode 100644 index 00000000000..436d879afda --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private AlertmanagerSpecVPSDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private AlertmanagerSpecVPSDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSDAItems() { + } + + public AlertmanagerSpecVPSDAItems(AlertmanagerSpecVPSDAIFieldRef fieldRef, Integer mode, String path, AlertmanagerSpecVPSDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public AlertmanagerSpecVPSDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(AlertmanagerSpecVPSDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public AlertmanagerSpecVPSDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(AlertmanagerSpecVPSDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public AlertmanagerSpecVPSDAItemsBuilder edit() { + return new AlertmanagerSpecVPSDAItemsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDownwardAPI.java new file mode 100644 index 00000000000..72091334e27 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSDownwardAPI.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSDownwardAPI() { + } + + public AlertmanagerSpecVPSDownwardAPI(List items) { + super(); + this.items = items; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public AlertmanagerSpecVPSDownwardAPIBuilder edit() { + return new AlertmanagerSpecVPSDownwardAPIBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSSecret.java new file mode 100644 index 00000000000..8649be9d395 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSSecret.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSSecret implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSSecret() { + } + + public AlertmanagerSpecVPSSecret(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecVPSSecretBuilder edit() { + return new AlertmanagerSpecVPSSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSServiceAccountToken.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSServiceAccountToken.java new file mode 100644 index 00000000000..889d7138509 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSServiceAccountToken.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "audience", + "expirationSeconds", + "path" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSServiceAccountToken implements Editable , KubernetesResource +{ + + @JsonProperty("audience") + private String audience; + @JsonProperty("expirationSeconds") + private Long expirationSeconds; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSServiceAccountToken() { + } + + public AlertmanagerSpecVPSServiceAccountToken(String audience, Long expirationSeconds, String path) { + super(); + this.audience = audience; + this.expirationSeconds = expirationSeconds; + this.path = path; + } + + @JsonProperty("audience") + public String getAudience() { + return audience; + } + + @JsonProperty("audience") + public void setAudience(String audience) { + this.audience = audience; + } + + @JsonProperty("expirationSeconds") + public Long getExpirationSeconds() { + return expirationSeconds; + } + + @JsonProperty("expirationSeconds") + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public AlertmanagerSpecVPSServiceAccountTokenBuilder edit() { + return new AlertmanagerSpecVPSServiceAccountTokenBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSServiceAccountTokenBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSources.java new file mode 100644 index 00000000000..6d4a6b74b6e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPSources.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clusterTrustBundle", + "configMap", + "downwardAPI", + "secret", + "serviceAccountToken" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPSources implements Editable , KubernetesResource +{ + + @JsonProperty("clusterTrustBundle") + private AlertmanagerSpecVPSClusterTrustBundle clusterTrustBundle; + @JsonProperty("configMap") + private AlertmanagerSpecVPSConfigMap configMap; + @JsonProperty("downwardAPI") + private AlertmanagerSpecVPSDownwardAPI downwardAPI; + @JsonProperty("secret") + private AlertmanagerSpecVPSSecret secret; + @JsonProperty("serviceAccountToken") + private AlertmanagerSpecVPSServiceAccountToken serviceAccountToken; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPSources() { + } + + public AlertmanagerSpecVPSources(AlertmanagerSpecVPSClusterTrustBundle clusterTrustBundle, AlertmanagerSpecVPSConfigMap configMap, AlertmanagerSpecVPSDownwardAPI downwardAPI, AlertmanagerSpecVPSSecret secret, AlertmanagerSpecVPSServiceAccountToken serviceAccountToken) { + super(); + this.clusterTrustBundle = clusterTrustBundle; + this.configMap = configMap; + this.downwardAPI = downwardAPI; + this.secret = secret; + this.serviceAccountToken = serviceAccountToken; + } + + @JsonProperty("clusterTrustBundle") + public AlertmanagerSpecVPSClusterTrustBundle getClusterTrustBundle() { + return clusterTrustBundle; + } + + @JsonProperty("clusterTrustBundle") + public void setClusterTrustBundle(AlertmanagerSpecVPSClusterTrustBundle clusterTrustBundle) { + this.clusterTrustBundle = clusterTrustBundle; + } + + @JsonProperty("configMap") + public AlertmanagerSpecVPSConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecVPSConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("downwardAPI") + public AlertmanagerSpecVPSDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(AlertmanagerSpecVPSDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("secret") + public AlertmanagerSpecVPSSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecVPSSecret secret) { + this.secret = secret; + } + + @JsonProperty("serviceAccountToken") + public AlertmanagerSpecVPSServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + @JsonProperty("serviceAccountToken") + public void setServiceAccountToken(AlertmanagerSpecVPSServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } + + @JsonIgnore + public AlertmanagerSpecVPSourcesBuilder edit() { + return new AlertmanagerSpecVPSourcesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPSourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPersistentVolumeClaim.java new file mode 100644 index 00000000000..c345be38fbc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPersistentVolumeClaim.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claimName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("claimName") + private String claimName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPersistentVolumeClaim() { + } + + public AlertmanagerSpecVPersistentVolumeClaim(String claimName, Boolean readOnly) { + super(); + this.claimName = claimName; + this.readOnly = readOnly; + } + + @JsonProperty("claimName") + public String getClaimName() { + return claimName; + } + + @JsonProperty("claimName") + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public AlertmanagerSpecVPersistentVolumeClaimBuilder edit() { + return new AlertmanagerSpecVPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPersistentVolumeClaimBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPhotonPersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPhotonPersistentDisk.java new file mode 100644 index 00000000000..fdb789b4678 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPhotonPersistentDisk.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "pdID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPhotonPersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("pdID") + private String pdID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPhotonPersistentDisk() { + } + + public AlertmanagerSpecVPhotonPersistentDisk(String fsType, String pdID) { + super(); + this.fsType = fsType; + this.pdID = pdID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("pdID") + public String getPdID() { + return pdID; + } + + @JsonProperty("pdID") + public void setPdID(String pdID) { + this.pdID = pdID; + } + + @JsonIgnore + public AlertmanagerSpecVPhotonPersistentDiskBuilder edit() { + return new AlertmanagerSpecVPhotonPersistentDiskBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPhotonPersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPortworxVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPortworxVolume.java new file mode 100644 index 00000000000..c7f14b18713 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVPortworxVolume.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVPortworxVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVPortworxVolume() { + } + + public AlertmanagerSpecVPortworxVolume(String fsType, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public AlertmanagerSpecVPortworxVolumeBuilder edit() { + return new AlertmanagerSpecVPortworxVolumeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVPortworxVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVProjected.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVProjected.java new file mode 100644 index 00000000000..914163dec07 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVProjected.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "sources" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVProjected implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVProjected() { + } + + public AlertmanagerSpecVProjected(Integer defaultMode, List sources) { + super(); + this.defaultMode = defaultMode; + this.sources = sources; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSources() { + return sources; + } + + @JsonProperty("sources") + public void setSources(List sources) { + this.sources = sources; + } + + @JsonIgnore + public AlertmanagerSpecVProjectedBuilder edit() { + return new AlertmanagerSpecVProjectedBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVProjectedBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVQuobyte.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVQuobyte.java new file mode 100644 index 00000000000..849b4ffbeab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVQuobyte.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "group", + "readOnly", + "registry", + "tenant", + "user", + "volume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVQuobyte implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("registry") + private String registry; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("user") + private String user; + @JsonProperty("volume") + private String volume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVQuobyte() { + } + + public AlertmanagerSpecVQuobyte(String group, Boolean readOnly, String registry, String tenant, String user, String volume) { + super(); + this.group = group; + this.readOnly = readOnly; + this.registry = registry; + this.tenant = tenant; + this.user = user; + this.volume = volume; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("registry") + public String getRegistry() { + return registry; + } + + @JsonProperty("registry") + public void setRegistry(String registry) { + this.registry = registry; + } + + @JsonProperty("tenant") + public String getTenant() { + return tenant; + } + + @JsonProperty("tenant") + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonProperty("volume") + public String getVolume() { + return volume; + } + + @JsonProperty("volume") + public void setVolume(String volume) { + this.volume = volume; + } + + @JsonIgnore + public AlertmanagerSpecVQuobyteBuilder edit() { + return new AlertmanagerSpecVQuobyteBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVQuobyteBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRSecretRef.java new file mode 100644 index 00000000000..a2aea2e204f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVRSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVRSecretRef() { + } + + public AlertmanagerSpecVRSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVRSecretRefBuilder edit() { + return new AlertmanagerSpecVRSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVRSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRbd.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRbd.java new file mode 100644 index 00000000000..ec3c6619def --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVRbd.java @@ -0,0 +1,210 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "image", + "keyring", + "monitors", + "pool", + "readOnly", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVRbd implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("image") + private String image; + @JsonProperty("keyring") + private String keyring; + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("pool") + private String pool; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVRSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVRbd() { + } + + public AlertmanagerSpecVRbd(String fsType, String image, String keyring, List monitors, String pool, Boolean readOnly, AlertmanagerSpecVRSecretRef secretRef, String user) { + super(); + this.fsType = fsType; + this.image = image; + this.keyring = keyring; + this.monitors = monitors; + this.pool = pool; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("keyring") + public String getKeyring() { + return keyring; + } + + @JsonProperty("keyring") + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("pool") + public String getPool() { + return pool; + } + + @JsonProperty("pool") + public void setPool(String pool) { + this.pool = pool; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVRSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVRSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public AlertmanagerSpecVRbdBuilder edit() { + return new AlertmanagerSpecVRbdBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVRbdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSISecretRef.java new file mode 100644 index 00000000000..6dec63f093d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVSISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVSISecretRef() { + } + + public AlertmanagerSpecVSISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVSISecretRefBuilder edit() { + return new AlertmanagerSpecVSISecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVSISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSSecretRef.java new file mode 100644 index 00000000000..82d3303c2c0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVSSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVSSecretRef() { + } + + public AlertmanagerSpecVSSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerSpecVSSecretRefBuilder edit() { + return new AlertmanagerSpecVSSecretRefBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVSSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVScaleIO.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVScaleIO.java new file mode 100644 index 00000000000..bdf70f248b1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVScaleIO.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "gateway", + "protectionDomain", + "readOnly", + "secretRef", + "sslEnabled", + "storageMode", + "storagePool", + "system", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVScaleIO implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("gateway") + private String gateway; + @JsonProperty("protectionDomain") + private String protectionDomain; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVSISecretRef secretRef; + @JsonProperty("sslEnabled") + private Boolean sslEnabled; + @JsonProperty("storageMode") + private String storageMode; + @JsonProperty("storagePool") + private String storagePool; + @JsonProperty("system") + private String system; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVScaleIO() { + } + + public AlertmanagerSpecVScaleIO(String fsType, String gateway, String protectionDomain, Boolean readOnly, AlertmanagerSpecVSISecretRef secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) { + super(); + this.fsType = fsType; + this.gateway = gateway; + this.protectionDomain = protectionDomain; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.sslEnabled = sslEnabled; + this.storageMode = storageMode; + this.storagePool = storagePool; + this.system = system; + this.volumeName = volumeName; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("gateway") + public String getGateway() { + return gateway; + } + + @JsonProperty("gateway") + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @JsonProperty("protectionDomain") + public String getProtectionDomain() { + return protectionDomain; + } + + @JsonProperty("protectionDomain") + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVSISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVSISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("sslEnabled") + public Boolean getSslEnabled() { + return sslEnabled; + } + + @JsonProperty("sslEnabled") + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @JsonProperty("storageMode") + public String getStorageMode() { + return storageMode; + } + + @JsonProperty("storageMode") + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @JsonProperty("storagePool") + public String getStoragePool() { + return storagePool; + } + + @JsonProperty("storagePool") + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @JsonProperty("system") + public String getSystem() { + return system; + } + + @JsonProperty("system") + public void setSystem(String system) { + this.system = system; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public AlertmanagerSpecVScaleIOBuilder edit() { + return new AlertmanagerSpecVScaleIOBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVScaleIOBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSecret.java new file mode 100644 index 00000000000..be5fcec6e65 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVSecret.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "optional", + "secretName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVSecret implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVSecret() { + } + + public AlertmanagerSpecVSecret(Integer defaultMode, List items, Boolean optional, String secretName) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.optional = optional; + this.secretName = secretName; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public AlertmanagerSpecVSecretBuilder edit() { + return new AlertmanagerSpecVSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVStorageos.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVStorageos.java new file mode 100644 index 00000000000..6338d9c3a16 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVStorageos.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeName", + "volumeNamespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVStorageos implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private AlertmanagerSpecVSSecretRef secretRef; + @JsonProperty("volumeName") + private String volumeName; + @JsonProperty("volumeNamespace") + private String volumeNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVStorageos() { + } + + public AlertmanagerSpecVStorageos(String fsType, Boolean readOnly, AlertmanagerSpecVSSecretRef secretRef, String volumeName, String volumeNamespace) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeName = volumeName; + this.volumeNamespace = volumeNamespace; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public AlertmanagerSpecVSSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(AlertmanagerSpecVSSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonProperty("volumeNamespace") + public String getVolumeNamespace() { + return volumeNamespace; + } + + @JsonProperty("volumeNamespace") + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + @JsonIgnore + public AlertmanagerSpecVStorageosBuilder edit() { + return new AlertmanagerSpecVStorageosBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVStorageosBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVVsphereVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVVsphereVolume.java new file mode 100644 index 00000000000..7a9f6e74d25 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVVsphereVolume.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "storagePolicyID", + "storagePolicyName", + "volumePath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVVsphereVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("storagePolicyID") + private String storagePolicyID; + @JsonProperty("storagePolicyName") + private String storagePolicyName; + @JsonProperty("volumePath") + private String volumePath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVVsphereVolume() { + } + + public AlertmanagerSpecVVsphereVolume(String fsType, String storagePolicyID, String storagePolicyName, String volumePath) { + super(); + this.fsType = fsType; + this.storagePolicyID = storagePolicyID; + this.storagePolicyName = storagePolicyName; + this.volumePath = volumePath; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("storagePolicyID") + public String getStoragePolicyID() { + return storagePolicyID; + } + + @JsonProperty("storagePolicyID") + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @JsonProperty("storagePolicyName") + public String getStoragePolicyName() { + return storagePolicyName; + } + + @JsonProperty("storagePolicyName") + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @JsonProperty("volumePath") + public String getVolumePath() { + return volumePath; + } + + @JsonProperty("volumePath") + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } + + @JsonIgnore + public AlertmanagerSpecVVsphereVolumeBuilder edit() { + return new AlertmanagerSpecVVsphereVolumeBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVVsphereVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumeMounts.java new file mode 100644 index 00000000000..1c1c44ef63f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVolumeMounts() { + } + + public AlertmanagerSpecVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public AlertmanagerSpecVolumeMountsBuilder edit() { + return new AlertmanagerSpecVolumeMountsBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumes.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumes.java new file mode 100644 index 00000000000..5d6a47bfa3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecVolumes.java @@ -0,0 +1,514 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "awsElasticBlockStore", + "azureDisk", + "azureFile", + "cephfs", + "cinder", + "configMap", + "csi", + "downwardAPI", + "emptyDir", + "ephemeral", + "fc", + "flexVolume", + "flocker", + "gcePersistentDisk", + "gitRepo", + "glusterfs", + "hostPath", + "iscsi", + "name", + "nfs", + "persistentVolumeClaim", + "photonPersistentDisk", + "portworxVolume", + "projected", + "quobyte", + "rbd", + "scaleIO", + "secret", + "storageos", + "vsphereVolume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecVolumes implements Editable , KubernetesResource +{ + + @JsonProperty("awsElasticBlockStore") + private AlertmanagerSpecVAwsElasticBlockStore awsElasticBlockStore; + @JsonProperty("azureDisk") + private AlertmanagerSpecVAzureDisk azureDisk; + @JsonProperty("azureFile") + private AlertmanagerSpecVAzureFile azureFile; + @JsonProperty("cephfs") + private AlertmanagerSpecVCephfs cephfs; + @JsonProperty("cinder") + private AlertmanagerSpecVCinder cinder; + @JsonProperty("configMap") + private AlertmanagerSpecVConfigMap configMap; + @JsonProperty("csi") + private AlertmanagerSpecVCsi csi; + @JsonProperty("downwardAPI") + private AlertmanagerSpecVDownwardAPI downwardAPI; + @JsonProperty("emptyDir") + private AlertmanagerSpecVEmptyDir emptyDir; + @JsonProperty("ephemeral") + private AlertmanagerSpecVEphemeral ephemeral; + @JsonProperty("fc") + private AlertmanagerSpecVFc fc; + @JsonProperty("flexVolume") + private AlertmanagerSpecVFlexVolume flexVolume; + @JsonProperty("flocker") + private AlertmanagerSpecVFlocker flocker; + @JsonProperty("gcePersistentDisk") + private AlertmanagerSpecVGcePersistentDisk gcePersistentDisk; + @JsonProperty("gitRepo") + private AlertmanagerSpecVGitRepo gitRepo; + @JsonProperty("glusterfs") + private AlertmanagerSpecVGlusterfs glusterfs; + @JsonProperty("hostPath") + private AlertmanagerSpecVHostPath hostPath; + @JsonProperty("iscsi") + private AlertmanagerSpecVIscsi iscsi; + @JsonProperty("name") + private String name; + @JsonProperty("nfs") + private AlertmanagerSpecVNfs nfs; + @JsonProperty("persistentVolumeClaim") + private AlertmanagerSpecVPersistentVolumeClaim persistentVolumeClaim; + @JsonProperty("photonPersistentDisk") + private AlertmanagerSpecVPhotonPersistentDisk photonPersistentDisk; + @JsonProperty("portworxVolume") + private AlertmanagerSpecVPortworxVolume portworxVolume; + @JsonProperty("projected") + private AlertmanagerSpecVProjected projected; + @JsonProperty("quobyte") + private AlertmanagerSpecVQuobyte quobyte; + @JsonProperty("rbd") + private AlertmanagerSpecVRbd rbd; + @JsonProperty("scaleIO") + private AlertmanagerSpecVScaleIO scaleIO; + @JsonProperty("secret") + private AlertmanagerSpecVSecret secret; + @JsonProperty("storageos") + private AlertmanagerSpecVStorageos storageos; + @JsonProperty("vsphereVolume") + private AlertmanagerSpecVVsphereVolume vsphereVolume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecVolumes() { + } + + public AlertmanagerSpecVolumes(AlertmanagerSpecVAwsElasticBlockStore awsElasticBlockStore, AlertmanagerSpecVAzureDisk azureDisk, AlertmanagerSpecVAzureFile azureFile, AlertmanagerSpecVCephfs cephfs, AlertmanagerSpecVCinder cinder, AlertmanagerSpecVConfigMap configMap, AlertmanagerSpecVCsi csi, AlertmanagerSpecVDownwardAPI downwardAPI, AlertmanagerSpecVEmptyDir emptyDir, AlertmanagerSpecVEphemeral ephemeral, AlertmanagerSpecVFc fc, AlertmanagerSpecVFlexVolume flexVolume, AlertmanagerSpecVFlocker flocker, AlertmanagerSpecVGcePersistentDisk gcePersistentDisk, AlertmanagerSpecVGitRepo gitRepo, AlertmanagerSpecVGlusterfs glusterfs, AlertmanagerSpecVHostPath hostPath, AlertmanagerSpecVIscsi iscsi, String name, AlertmanagerSpecVNfs nfs, AlertmanagerSpecVPersistentVolumeClaim persistentVolumeClaim, AlertmanagerSpecVPhotonPersistentDisk photonPersistentDisk, AlertmanagerSpecVPortworxVolume portworxVolume, AlertmanagerSpecVProjected projected, AlertmanagerSpecVQuobyte quobyte, AlertmanagerSpecVRbd rbd, AlertmanagerSpecVScaleIO scaleIO, AlertmanagerSpecVSecret secret, AlertmanagerSpecVStorageos storageos, AlertmanagerSpecVVsphereVolume vsphereVolume) { + super(); + this.awsElasticBlockStore = awsElasticBlockStore; + this.azureDisk = azureDisk; + this.azureFile = azureFile; + this.cephfs = cephfs; + this.cinder = cinder; + this.configMap = configMap; + this.csi = csi; + this.downwardAPI = downwardAPI; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.fc = fc; + this.flexVolume = flexVolume; + this.flocker = flocker; + this.gcePersistentDisk = gcePersistentDisk; + this.gitRepo = gitRepo; + this.glusterfs = glusterfs; + this.hostPath = hostPath; + this.iscsi = iscsi; + this.name = name; + this.nfs = nfs; + this.persistentVolumeClaim = persistentVolumeClaim; + this.photonPersistentDisk = photonPersistentDisk; + this.portworxVolume = portworxVolume; + this.projected = projected; + this.quobyte = quobyte; + this.rbd = rbd; + this.scaleIO = scaleIO; + this.secret = secret; + this.storageos = storageos; + this.vsphereVolume = vsphereVolume; + } + + @JsonProperty("awsElasticBlockStore") + public AlertmanagerSpecVAwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + @JsonProperty("awsElasticBlockStore") + public void setAwsElasticBlockStore(AlertmanagerSpecVAwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @JsonProperty("azureDisk") + public AlertmanagerSpecVAzureDisk getAzureDisk() { + return azureDisk; + } + + @JsonProperty("azureDisk") + public void setAzureDisk(AlertmanagerSpecVAzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @JsonProperty("azureFile") + public AlertmanagerSpecVAzureFile getAzureFile() { + return azureFile; + } + + @JsonProperty("azureFile") + public void setAzureFile(AlertmanagerSpecVAzureFile azureFile) { + this.azureFile = azureFile; + } + + @JsonProperty("cephfs") + public AlertmanagerSpecVCephfs getCephfs() { + return cephfs; + } + + @JsonProperty("cephfs") + public void setCephfs(AlertmanagerSpecVCephfs cephfs) { + this.cephfs = cephfs; + } + + @JsonProperty("cinder") + public AlertmanagerSpecVCinder getCinder() { + return cinder; + } + + @JsonProperty("cinder") + public void setCinder(AlertmanagerSpecVCinder cinder) { + this.cinder = cinder; + } + + @JsonProperty("configMap") + public AlertmanagerSpecVConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecVConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("csi") + public AlertmanagerSpecVCsi getCsi() { + return csi; + } + + @JsonProperty("csi") + public void setCsi(AlertmanagerSpecVCsi csi) { + this.csi = csi; + } + + @JsonProperty("downwardAPI") + public AlertmanagerSpecVDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(AlertmanagerSpecVDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("emptyDir") + public AlertmanagerSpecVEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(AlertmanagerSpecVEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public AlertmanagerSpecVEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(AlertmanagerSpecVEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("fc") + public AlertmanagerSpecVFc getFc() { + return fc; + } + + @JsonProperty("fc") + public void setFc(AlertmanagerSpecVFc fc) { + this.fc = fc; + } + + @JsonProperty("flexVolume") + public AlertmanagerSpecVFlexVolume getFlexVolume() { + return flexVolume; + } + + @JsonProperty("flexVolume") + public void setFlexVolume(AlertmanagerSpecVFlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @JsonProperty("flocker") + public AlertmanagerSpecVFlocker getFlocker() { + return flocker; + } + + @JsonProperty("flocker") + public void setFlocker(AlertmanagerSpecVFlocker flocker) { + this.flocker = flocker; + } + + @JsonProperty("gcePersistentDisk") + public AlertmanagerSpecVGcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + @JsonProperty("gcePersistentDisk") + public void setGcePersistentDisk(AlertmanagerSpecVGcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @JsonProperty("gitRepo") + public AlertmanagerSpecVGitRepo getGitRepo() { + return gitRepo; + } + + @JsonProperty("gitRepo") + public void setGitRepo(AlertmanagerSpecVGitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @JsonProperty("glusterfs") + public AlertmanagerSpecVGlusterfs getGlusterfs() { + return glusterfs; + } + + @JsonProperty("glusterfs") + public void setGlusterfs(AlertmanagerSpecVGlusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @JsonProperty("hostPath") + public AlertmanagerSpecVHostPath getHostPath() { + return hostPath; + } + + @JsonProperty("hostPath") + public void setHostPath(AlertmanagerSpecVHostPath hostPath) { + this.hostPath = hostPath; + } + + @JsonProperty("iscsi") + public AlertmanagerSpecVIscsi getIscsi() { + return iscsi; + } + + @JsonProperty("iscsi") + public void setIscsi(AlertmanagerSpecVIscsi iscsi) { + this.iscsi = iscsi; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("nfs") + public AlertmanagerSpecVNfs getNfs() { + return nfs; + } + + @JsonProperty("nfs") + public void setNfs(AlertmanagerSpecVNfs nfs) { + this.nfs = nfs; + } + + @JsonProperty("persistentVolumeClaim") + public AlertmanagerSpecVPersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + @JsonProperty("persistentVolumeClaim") + public void setPersistentVolumeClaim(AlertmanagerSpecVPersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @JsonProperty("photonPersistentDisk") + public AlertmanagerSpecVPhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + @JsonProperty("photonPersistentDisk") + public void setPhotonPersistentDisk(AlertmanagerSpecVPhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @JsonProperty("portworxVolume") + public AlertmanagerSpecVPortworxVolume getPortworxVolume() { + return portworxVolume; + } + + @JsonProperty("portworxVolume") + public void setPortworxVolume(AlertmanagerSpecVPortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @JsonProperty("projected") + public AlertmanagerSpecVProjected getProjected() { + return projected; + } + + @JsonProperty("projected") + public void setProjected(AlertmanagerSpecVProjected projected) { + this.projected = projected; + } + + @JsonProperty("quobyte") + public AlertmanagerSpecVQuobyte getQuobyte() { + return quobyte; + } + + @JsonProperty("quobyte") + public void setQuobyte(AlertmanagerSpecVQuobyte quobyte) { + this.quobyte = quobyte; + } + + @JsonProperty("rbd") + public AlertmanagerSpecVRbd getRbd() { + return rbd; + } + + @JsonProperty("rbd") + public void setRbd(AlertmanagerSpecVRbd rbd) { + this.rbd = rbd; + } + + @JsonProperty("scaleIO") + public AlertmanagerSpecVScaleIO getScaleIO() { + return scaleIO; + } + + @JsonProperty("scaleIO") + public void setScaleIO(AlertmanagerSpecVScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @JsonProperty("secret") + public AlertmanagerSpecVSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecVSecret secret) { + this.secret = secret; + } + + @JsonProperty("storageos") + public AlertmanagerSpecVStorageos getStorageos() { + return storageos; + } + + @JsonProperty("storageos") + public void setStorageos(AlertmanagerSpecVStorageos storageos) { + this.storageos = storageos; + } + + @JsonProperty("vsphereVolume") + public AlertmanagerSpecVVsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + @JsonProperty("vsphereVolume") + public void setVsphereVolume(AlertmanagerSpecVVsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } + + @JsonIgnore + public AlertmanagerSpecVolumesBuilder edit() { + return new AlertmanagerSpecVolumesBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecVolumesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHCHeaders.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHCHeaders.java new file mode 100644 index 00000000000..2c9ea7bc88b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHCHeaders.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "contentSecurityPolicy", + "strictTransportSecurity", + "xContentTypeOptions", + "xFrameOptions", + "xXSSProtection" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWHCHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("contentSecurityPolicy") + private String contentSecurityPolicy; + @JsonProperty("strictTransportSecurity") + private String strictTransportSecurity; + @JsonProperty("xContentTypeOptions") + private String xContentTypeOptions; + @JsonProperty("xFrameOptions") + private String xFrameOptions; + @JsonProperty("xXSSProtection") + private String xXSSProtection; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWHCHeaders() { + } + + public AlertmanagerSpecWHCHeaders(String contentSecurityPolicy, String strictTransportSecurity, String xContentTypeOptions, String xFrameOptions, String xXSSProtection) { + super(); + this.contentSecurityPolicy = contentSecurityPolicy; + this.strictTransportSecurity = strictTransportSecurity; + this.xContentTypeOptions = xContentTypeOptions; + this.xFrameOptions = xFrameOptions; + this.xXSSProtection = xXSSProtection; + } + + @JsonProperty("contentSecurityPolicy") + public String getContentSecurityPolicy() { + return contentSecurityPolicy; + } + + @JsonProperty("contentSecurityPolicy") + public void setContentSecurityPolicy(String contentSecurityPolicy) { + this.contentSecurityPolicy = contentSecurityPolicy; + } + + @JsonProperty("strictTransportSecurity") + public String getStrictTransportSecurity() { + return strictTransportSecurity; + } + + @JsonProperty("strictTransportSecurity") + public void setStrictTransportSecurity(String strictTransportSecurity) { + this.strictTransportSecurity = strictTransportSecurity; + } + + @JsonProperty("xContentTypeOptions") + public String getXContentTypeOptions() { + return xContentTypeOptions; + } + + @JsonProperty("xContentTypeOptions") + public void setXContentTypeOptions(String xContentTypeOptions) { + this.xContentTypeOptions = xContentTypeOptions; + } + + @JsonProperty("xFrameOptions") + public String getXFrameOptions() { + return xFrameOptions; + } + + @JsonProperty("xFrameOptions") + public void setXFrameOptions(String xFrameOptions) { + this.xFrameOptions = xFrameOptions; + } + + @JsonProperty("xXSSProtection") + public String getXXSSProtection() { + return xXSSProtection; + } + + @JsonProperty("xXSSProtection") + public void setXXSSProtection(String xXSSProtection) { + this.xXSSProtection = xXSSProtection; + } + + @JsonIgnore + public AlertmanagerSpecWHCHeadersBuilder edit() { + return new AlertmanagerSpecWHCHeadersBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWHCHeadersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHttpConfig.java new file mode 100644 index 00000000000..b206e689145 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWHttpConfig.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "headers", + "http2" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("headers") + private AlertmanagerSpecWHCHeaders headers; + @JsonProperty("http2") + private Boolean http2; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWHttpConfig() { + } + + public AlertmanagerSpecWHttpConfig(AlertmanagerSpecWHCHeaders headers, Boolean http2) { + super(); + this.headers = headers; + this.http2 = http2; + } + + @JsonProperty("headers") + public AlertmanagerSpecWHCHeaders getHeaders() { + return headers; + } + + @JsonProperty("headers") + public void setHeaders(AlertmanagerSpecWHCHeaders headers) { + this.headers = headers; + } + + @JsonProperty("http2") + public Boolean getHttp2() { + return http2; + } + + @JsonProperty("http2") + public void setHttp2(Boolean http2) { + this.http2 = http2; + } + + @JsonIgnore + public AlertmanagerSpecWHttpConfigBuilder edit() { + return new AlertmanagerSpecWHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap.java new file mode 100644 index 00000000000..4cdc9c46663 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCCConfigMap() { + } + + public AlertmanagerSpecWTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecWTCCConfigMapBuilder edit() { + return new AlertmanagerSpecWTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap_1.java new file mode 100644 index 00000000000..3321a4bd1b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCCConfigMap_1() { + } + + public AlertmanagerSpecWTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecWTCCConfigMap_1Builder edit() { + return new AlertmanagerSpecWTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret.java new file mode 100644 index 00000000000..454f006bb65 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCCSecret() { + } + + public AlertmanagerSpecWTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecWTCCSecretBuilder edit() { + return new AlertmanagerSpecWTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret_1.java new file mode 100644 index 00000000000..5003d8805c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCCSecret_1() { + } + + public AlertmanagerSpecWTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecWTCCSecret_1Builder edit() { + return new AlertmanagerSpecWTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCert.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCert.java index 0619da20f87..962d7d94986 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SecretOrConfigMap.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCCert.java @@ -12,7 +12,6 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.ConfigMapKeySelector; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; @@ -23,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,13 +52,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SecretOrConfigMap implements Editable , KubernetesResource +public class AlertmanagerSpecWTCCert implements Editable , KubernetesResource { @JsonProperty("configMap") - private ConfigMapKeySelector configMap; + private AlertmanagerSpecWTCCConfigMap configMap; @JsonProperty("secret") - private SecretKeySelector secret; + private AlertmanagerSpecWTCCSecret secret; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -68,42 +66,42 @@ public class SecretOrConfigMap implements Editable , K * No args constructor for use in serialization * */ - public SecretOrConfigMap() { + public AlertmanagerSpecWTCCert() { } - public SecretOrConfigMap(ConfigMapKeySelector configMap, SecretKeySelector secret) { + public AlertmanagerSpecWTCCert(AlertmanagerSpecWTCCConfigMap configMap, AlertmanagerSpecWTCCSecret secret) { super(); this.configMap = configMap; this.secret = secret; } @JsonProperty("configMap") - public ConfigMapKeySelector getConfigMap() { + public AlertmanagerSpecWTCCConfigMap getConfigMap() { return configMap; } @JsonProperty("configMap") - public void setConfigMap(ConfigMapKeySelector configMap) { + public void setConfigMap(AlertmanagerSpecWTCCConfigMap configMap) { this.configMap = configMap; } @JsonProperty("secret") - public SecretKeySelector getSecret() { + public AlertmanagerSpecWTCCSecret getSecret() { return secret; } @JsonProperty("secret") - public void setSecret(SecretKeySelector secret) { + public void setSecret(AlertmanagerSpecWTCCSecret secret) { this.secret = secret; } @JsonIgnore - public SecretOrConfigMapBuilder edit() { - return new SecretOrConfigMapBuilder(this); + public AlertmanagerSpecWTCCertBuilder edit() { + return new AlertmanagerSpecWTCCertBuilder(this); } @JsonIgnore - public SecretOrConfigMapBuilder toBuilder() { + public AlertmanagerSpecWTCCertBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCClient_ca.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCClient_ca.java new file mode 100644 index 00000000000..47f74ceb04b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCClient_ca.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCClient_ca implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerSpecWTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerSpecWTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCClient_ca() { + } + + public AlertmanagerSpecWTCClient_ca(AlertmanagerSpecWTCCConfigMap_1 configMap, AlertmanagerSpecWTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerSpecWTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerSpecWTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerSpecWTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerSpecWTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerSpecWTCClient_caBuilder edit() { + return new AlertmanagerSpecWTCClient_caBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCClient_caBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCKeySecret.java new file mode 100644 index 00000000000..2af5eb52745 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTCKeySecret() { + } + + public AlertmanagerSpecWTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerSpecWTCKeySecretBuilder edit() { + return new AlertmanagerSpecWTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTlsConfig.java new file mode 100644 index 00000000000..19c93e973c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWTlsConfig.java @@ -0,0 +1,226 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "cert", + "cipherSuites", + "clientAuthType", + "client_ca", + "curvePreferences", + "keySecret", + "maxVersion", + "minVersion", + "preferServerCipherSuites" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerSpecWTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("cert") + private AlertmanagerSpecWTCCert cert; + @JsonProperty("cipherSuites") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List cipherSuites = new ArrayList<>(); + @JsonProperty("clientAuthType") + private String clientAuthType; + @JsonProperty("client_ca") + private AlertmanagerSpecWTCClient_ca client_ca; + @JsonProperty("curvePreferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List curvePreferences = new ArrayList<>(); + @JsonProperty("keySecret") + private AlertmanagerSpecWTCKeySecret keySecret; + @JsonProperty("maxVersion") + private String maxVersion; + @JsonProperty("minVersion") + private String minVersion; + @JsonProperty("preferServerCipherSuites") + private Boolean preferServerCipherSuites; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerSpecWTlsConfig() { + } + + public AlertmanagerSpecWTlsConfig(AlertmanagerSpecWTCCert cert, List cipherSuites, String clientAuthType, AlertmanagerSpecWTCClient_ca client_ca, List curvePreferences, AlertmanagerSpecWTCKeySecret keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites) { + super(); + this.cert = cert; + this.cipherSuites = cipherSuites; + this.clientAuthType = clientAuthType; + this.client_ca = client_ca; + this.curvePreferences = curvePreferences; + this.keySecret = keySecret; + this.maxVersion = maxVersion; + this.minVersion = minVersion; + this.preferServerCipherSuites = preferServerCipherSuites; + } + + @JsonProperty("cert") + public AlertmanagerSpecWTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerSpecWTCCert cert) { + this.cert = cert; + } + + @JsonProperty("cipherSuites") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCipherSuites() { + return cipherSuites; + } + + @JsonProperty("cipherSuites") + public void setCipherSuites(List cipherSuites) { + this.cipherSuites = cipherSuites; + } + + @JsonProperty("clientAuthType") + public String getClientAuthType() { + return clientAuthType; + } + + @JsonProperty("clientAuthType") + public void setClientAuthType(String clientAuthType) { + this.clientAuthType = clientAuthType; + } + + @JsonProperty("client_ca") + public AlertmanagerSpecWTCClient_ca getClient_ca() { + return client_ca; + } + + @JsonProperty("client_ca") + public void setClient_ca(AlertmanagerSpecWTCClient_ca client_ca) { + this.client_ca = client_ca; + } + + @JsonProperty("curvePreferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCurvePreferences() { + return curvePreferences; + } + + @JsonProperty("curvePreferences") + public void setCurvePreferences(List curvePreferences) { + this.curvePreferences = curvePreferences; + } + + @JsonProperty("keySecret") + public AlertmanagerSpecWTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerSpecWTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("maxVersion") + public String getMaxVersion() { + return maxVersion; + } + + @JsonProperty("maxVersion") + public void setMaxVersion(String maxVersion) { + this.maxVersion = maxVersion; + } + + @JsonProperty("minVersion") + public String getMinVersion() { + return minVersion; + } + + @JsonProperty("minVersion") + public void setMinVersion(String minVersion) { + this.minVersion = minVersion; + } + + @JsonProperty("preferServerCipherSuites") + public Boolean getPreferServerCipherSuites() { + return preferServerCipherSuites; + } + + @JsonProperty("preferServerCipherSuites") + public void setPreferServerCipherSuites(Boolean preferServerCipherSuites) { + this.preferServerCipherSuites = preferServerCipherSuites; + } + + @JsonIgnore + public AlertmanagerSpecWTlsConfigBuilder edit() { + return new AlertmanagerSpecWTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerSpecWTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerWebSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWeb.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerWebSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWeb.java index ae2d37a8aae..f6b0cec2aa6 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerWebSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerSpecWeb.java @@ -54,17 +54,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerWebSpec implements Editable , KubernetesResource +public class AlertmanagerSpecWeb implements Editable , KubernetesResource { @JsonProperty("getConcurrency") private Integer getConcurrency; @JsonProperty("httpConfig") - private WebHTTPConfig httpConfig; + private AlertmanagerSpecWHttpConfig httpConfig; @JsonProperty("timeout") private Integer timeout; @JsonProperty("tlsConfig") - private WebTLSConfig tlsConfig; + private AlertmanagerSpecWTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -72,10 +72,10 @@ public class AlertmanagerWebSpec implements Editable * No args constructor for use in serialization * */ - public AlertmanagerWebSpec() { + public AlertmanagerSpecWeb() { } - public AlertmanagerWebSpec(Integer getConcurrency, WebHTTPConfig httpConfig, Integer timeout, WebTLSConfig tlsConfig) { + public AlertmanagerSpecWeb(Integer getConcurrency, AlertmanagerSpecWHttpConfig httpConfig, Integer timeout, AlertmanagerSpecWTlsConfig tlsConfig) { super(); this.getConcurrency = getConcurrency; this.httpConfig = httpConfig; @@ -94,12 +94,12 @@ public void setGetConcurrency(Integer getConcurrency) { } @JsonProperty("httpConfig") - public WebHTTPConfig getHttpConfig() { + public AlertmanagerSpecWHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(WebHTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerSpecWHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -114,22 +114,22 @@ public void setTimeout(Integer timeout) { } @JsonProperty("tlsConfig") - public WebTLSConfig getTlsConfig() { + public AlertmanagerSpecWTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(WebTLSConfig tlsConfig) { + public void setTlsConfig(AlertmanagerSpecWTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public AlertmanagerWebSpecBuilder edit() { - return new AlertmanagerWebSpecBuilder(this); + public AlertmanagerSpecWebBuilder edit() { + return new AlertmanagerSpecWebBuilder(this); } @JsonIgnore - public AlertmanagerWebSpecBuilder toBuilder() { + public AlertmanagerSpecWebBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java index dead173cad7..74df2b32636 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatus.java @@ -65,7 +65,7 @@ public class AlertmanagerStatus implements Editable , private Integer availableReplicas; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("paused") private Boolean paused; @JsonProperty("replicas") @@ -84,7 +84,7 @@ public class AlertmanagerStatus implements Editable , public AlertmanagerStatus() { } - public AlertmanagerStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas) { + public AlertmanagerStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas) { super(); this.availableReplicas = availableReplicas; this.conditions = conditions; @@ -106,12 +106,12 @@ public void setAvailableReplicas(Integer availableReplicas) { @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getConditions() { + public List getConditions() { return conditions; } @JsonProperty("conditions") - public void setConditions(List conditions) { + public void setConditions(List conditions) { this.conditions = conditions; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatusConditions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatusConditions.java new file mode 100644 index 00000000000..e2b6d715078 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "lastTransitionTime", + "message", + "observedGeneration", + "reason", + "status", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerStatusConditions implements Editable , KubernetesResource +{ + + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("message") + private String message; + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerStatusConditions() { + } + + public AlertmanagerStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) { + super(); + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.observedGeneration = observedGeneration; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerStatusConditionsBuilder edit() { + return new AlertmanagerStatusConditionsBuilder(this); + } + + @JsonIgnore + public AlertmanagerStatusConditionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java index 6064fb9183c..d84a3597093 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitor.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -47,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -81,7 +82,7 @@ public class PodMonitor implements Editable , HasMetadata, Na @JsonProperty("kind") private String kind = "PodMonitor"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PodMonitorSpec spec; @JsonIgnore @@ -94,7 +95,7 @@ public class PodMonitor implements Editable , HasMetadata, Na public PodMonitor() { } - public PodMonitor(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PodMonitorSpec spec) { + public PodMonitor(String apiVersion, String kind, ObjectMeta metadata, PodMonitorSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -143,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java index 1ec4db91cb8..0c87bfb50db 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpec.java @@ -17,6 +17,7 @@ import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -33,6 +34,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "attachMetadata", + "bodySizeLimit", "jobLabel", "keepDroppedTargets", "labelLimit", @@ -42,6 +44,8 @@ "podMetricsEndpoints", "podTargetLabels", "sampleLimit", + "scrapeClass", + "scrapeProtocols", "selector", "targetLimit" }) @@ -53,7 +57,7 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @@ -67,7 +71,9 @@ public class PodMonitorSpec implements Editable , Kuberne { @JsonProperty("attachMetadata") - private AttachMetadata attachMetadata; + private PodMonitorSpecAttachMetadata attachMetadata; + @JsonProperty("bodySizeLimit") + private String bodySizeLimit; @JsonProperty("jobLabel") private String jobLabel; @JsonProperty("keepDroppedTargets") @@ -79,17 +85,22 @@ public class PodMonitorSpec implements Editable , Kuberne @JsonProperty("labelValueLengthLimit") private Long labelValueLengthLimit; @JsonProperty("namespaceSelector") - private NamespaceSelector namespaceSelector; + private PodMonitorSpecNamespaceSelector namespaceSelector; @JsonProperty("podMetricsEndpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List podMetricsEndpoints = new ArrayList<>(); + private List podMetricsEndpoints = new ArrayList<>(); @JsonProperty("podTargetLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List podTargetLabels = new ArrayList<>(); @JsonProperty("sampleLimit") private Long sampleLimit; + @JsonProperty("scrapeClass") + private String scrapeClass; + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scrapeProtocols = new ArrayList<>(); @JsonProperty("selector") - private io.fabric8.kubernetes.api.model.LabelSelector selector; + private PodMonitorSpecSelector selector; @JsonProperty("targetLimit") private Long targetLimit; @JsonIgnore @@ -102,9 +113,10 @@ public class PodMonitorSpec implements Editable , Kuberne public PodMonitorSpec() { } - public PodMonitorSpec(AttachMetadata attachMetadata, String jobLabel, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, NamespaceSelector namespaceSelector, List podMetricsEndpoints, List podTargetLabels, Long sampleLimit, io.fabric8.kubernetes.api.model.LabelSelector selector, Long targetLimit) { + public PodMonitorSpec(PodMonitorSpecAttachMetadata attachMetadata, String bodySizeLimit, String jobLabel, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, PodMonitorSpecNamespaceSelector namespaceSelector, List podMetricsEndpoints, List podTargetLabels, Long sampleLimit, String scrapeClass, List scrapeProtocols, PodMonitorSpecSelector selector, Long targetLimit) { super(); this.attachMetadata = attachMetadata; + this.bodySizeLimit = bodySizeLimit; this.jobLabel = jobLabel; this.keepDroppedTargets = keepDroppedTargets; this.labelLimit = labelLimit; @@ -114,20 +126,32 @@ public PodMonitorSpec(AttachMetadata attachMetadata, String jobLabel, Long keepD this.podMetricsEndpoints = podMetricsEndpoints; this.podTargetLabels = podTargetLabels; this.sampleLimit = sampleLimit; + this.scrapeClass = scrapeClass; + this.scrapeProtocols = scrapeProtocols; this.selector = selector; this.targetLimit = targetLimit; } @JsonProperty("attachMetadata") - public AttachMetadata getAttachMetadata() { + public PodMonitorSpecAttachMetadata getAttachMetadata() { return attachMetadata; } @JsonProperty("attachMetadata") - public void setAttachMetadata(AttachMetadata attachMetadata) { + public void setAttachMetadata(PodMonitorSpecAttachMetadata attachMetadata) { this.attachMetadata = attachMetadata; } + @JsonProperty("bodySizeLimit") + public String getBodySizeLimit() { + return bodySizeLimit; + } + + @JsonProperty("bodySizeLimit") + public void setBodySizeLimit(String bodySizeLimit) { + this.bodySizeLimit = bodySizeLimit; + } + @JsonProperty("jobLabel") public String getJobLabel() { return jobLabel; @@ -179,23 +203,23 @@ public void setLabelValueLengthLimit(Long labelValueLengthLimit) { } @JsonProperty("namespaceSelector") - public NamespaceSelector getNamespaceSelector() { + public PodMonitorSpecNamespaceSelector getNamespaceSelector() { return namespaceSelector; } @JsonProperty("namespaceSelector") - public void setNamespaceSelector(NamespaceSelector namespaceSelector) { + public void setNamespaceSelector(PodMonitorSpecNamespaceSelector namespaceSelector) { this.namespaceSelector = namespaceSelector; } @JsonProperty("podMetricsEndpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPodMetricsEndpoints() { + public List getPodMetricsEndpoints() { return podMetricsEndpoints; } @JsonProperty("podMetricsEndpoints") - public void setPodMetricsEndpoints(List podMetricsEndpoints) { + public void setPodMetricsEndpoints(List podMetricsEndpoints) { this.podMetricsEndpoints = podMetricsEndpoints; } @@ -220,13 +244,34 @@ public void setSampleLimit(Long sampleLimit) { this.sampleLimit = sampleLimit; } + @JsonProperty("scrapeClass") + public String getScrapeClass() { + return scrapeClass; + } + + @JsonProperty("scrapeClass") + public void setScrapeClass(String scrapeClass) { + this.scrapeClass = scrapeClass; + } + + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScrapeProtocols() { + return scrapeProtocols; + } + + @JsonProperty("scrapeProtocols") + public void setScrapeProtocols(List scrapeProtocols) { + this.scrapeProtocols = scrapeProtocols; + } + @JsonProperty("selector") - public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + public PodMonitorSpecSelector getSelector() { return selector; } @JsonProperty("selector") - public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + public void setSelector(PodMonitorSpecSelector selector) { this.selector = selector; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecAttachMetadata.java similarity index 88% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecAttachMetadata.java index fd605dd3543..3ffe962abef 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AttachMetadata.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecAttachMetadata.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AttachMetadata implements Editable , KubernetesResource +public class PodMonitorSpecAttachMetadata implements Editable , KubernetesResource { @JsonProperty("node") @@ -63,10 +63,10 @@ public class AttachMetadata implements Editable , Kuberne * No args constructor for use in serialization * */ - public AttachMetadata() { + public PodMonitorSpecAttachMetadata() { } - public AttachMetadata(Boolean node) { + public PodMonitorSpecAttachMetadata(Boolean node) { super(); this.node = node; } @@ -82,12 +82,12 @@ public void setNode(Boolean node) { } @JsonIgnore - public AttachMetadataBuilder edit() { - return new AttachMetadataBuilder(this); + public PodMonitorSpecAttachMetadataBuilder edit() { + return new PodMonitorSpecAttachMetadataBuilder(this); } @JsonIgnore - public AttachMetadataBuilder toBuilder() { + public PodMonitorSpecAttachMetadataBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecNamespaceSelector.java new file mode 100644 index 00000000000..4f56ee02c0b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecNamespaceSelector.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "any", + "matchNames" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("any") + private Boolean any; + @JsonProperty("matchNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchNames = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecNamespaceSelector() { + } + + public PodMonitorSpecNamespaceSelector(Boolean any, List matchNames) { + super(); + this.any = any; + this.matchNames = matchNames; + } + + @JsonProperty("any") + public Boolean getAny() { + return any; + } + + @JsonProperty("any") + public void setAny(Boolean any) { + this.any = any; + } + + @JsonProperty("matchNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchNames() { + return matchNames; + } + + @JsonProperty("matchNames") + public void setMatchNames(List matchNames) { + this.matchNames = matchNames; + } + + @JsonIgnore + public PodMonitorSpecNamespaceSelectorBuilder edit() { + return new PodMonitorSpecNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEACredentials.java new file mode 100644 index 00000000000..55d569c4435 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEACredentials() { + } + + public PodMonitorSpecPMEACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEACredentialsBuilder edit() { + return new PodMonitorSpecPMEACredentialsBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEAuthorization.java new file mode 100644 index 00000000000..2164adc81db --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private PodMonitorSpecPMEACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEAuthorization() { + } + + public PodMonitorSpecPMEAuthorization(PodMonitorSpecPMEACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public PodMonitorSpecPMEACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(PodMonitorSpecPMEACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PodMonitorSpecPMEAuthorizationBuilder edit() { + return new PodMonitorSpecPMEAuthorizationBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuth.java new file mode 100644 index 00000000000..c7a6cb35a48 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private PodMonitorSpecPMEBasicAuthPassword password; + @JsonProperty("username") + private PodMonitorSpecPMEBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEBasicAuth() { + } + + public PodMonitorSpecPMEBasicAuth(PodMonitorSpecPMEBasicAuthPassword password, PodMonitorSpecPMEBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public PodMonitorSpecPMEBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(PodMonitorSpecPMEBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public PodMonitorSpecPMEBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(PodMonitorSpecPMEBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthBuilder edit() { + return new PodMonitorSpecPMEBasicAuthBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthPassword.java new file mode 100644 index 00000000000..e3f108f04c8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEBasicAuthPassword() { + } + + public PodMonitorSpecPMEBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthPasswordBuilder edit() { + return new PodMonitorSpecPMEBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthUsername.java new file mode 100644 index 00000000000..627a2f9780f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEBasicAuthUsername() { + } + + public PodMonitorSpecPMEBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthUsernameBuilder edit() { + return new PodMonitorSpecPMEBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBearerTokenSecret.java new file mode 100644 index 00000000000..421290321c4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEBearerTokenSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEBearerTokenSecret() { + } + + public PodMonitorSpecPMEBearerTokenSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEBearerTokenSecretBuilder edit() { + return new PodMonitorSpecPMEBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEMetricRelabelings.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEMetricRelabelings.java new file mode 100644 index 00000000000..bca115c26b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEMetricRelabelings.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEMetricRelabelings implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEMetricRelabelings() { + } + + public PodMonitorSpecPMEMetricRelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public PodMonitorSpecPMEMetricRelabelingsBuilder edit() { + return new PodMonitorSpecPMEMetricRelabelingsBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEMetricRelabelingsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCIConfigMap.java new file mode 100644 index 00000000000..07e45ecb1b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEOCIConfigMap() { + } + + public PodMonitorSpecPMEOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEOCIConfigMapBuilder edit() { + return new PodMonitorSpecPMEOCIConfigMapBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCISecret.java new file mode 100644 index 00000000000..ac6ed9d0613 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEOCISecret() { + } + + public PodMonitorSpecPMEOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEOCISecretBuilder edit() { + return new PodMonitorSpecPMEOCISecretBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientId.java new file mode 100644 index 00000000000..395ca12ab51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PodMonitorSpecPMEOCIConfigMap configMap; + @JsonProperty("secret") + private PodMonitorSpecPMEOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEOClientId() { + } + + public PodMonitorSpecPMEOClientId(PodMonitorSpecPMEOCIConfigMap configMap, PodMonitorSpecPMEOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PodMonitorSpecPMEOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PodMonitorSpecPMEOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PodMonitorSpecPMEOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PodMonitorSpecPMEOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PodMonitorSpecPMEOClientIdBuilder edit() { + return new PodMonitorSpecPMEOClientIdBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientSecret.java new file mode 100644 index 00000000000..9e5bb3abf3b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEOClientSecret() { + } + + public PodMonitorSpecPMEOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMEOClientSecretBuilder edit() { + return new PodMonitorSpecPMEOClientSecretBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOauth2.java new file mode 100644 index 00000000000..702336c6d22 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMEOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMEOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private PodMonitorSpecPMEOClientId clientId; + @JsonProperty("clientSecret") + private PodMonitorSpecPMEOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMEOauth2() { + } + + public PodMonitorSpecPMEOauth2(PodMonitorSpecPMEOClientId clientId, PodMonitorSpecPMEOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public PodMonitorSpecPMEOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(PodMonitorSpecPMEOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public PodMonitorSpecPMEOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(PodMonitorSpecPMEOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public PodMonitorSpecPMEOauth2Builder edit() { + return new PodMonitorSpecPMEOauth2Builder(this); + } + + @JsonIgnore + public PodMonitorSpecPMEOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMERelabelings.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMERelabelings.java new file mode 100644 index 00000000000..f40d539d335 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMERelabelings.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMERelabelings implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMERelabelings() { + } + + public PodMonitorSpecPMERelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public PodMonitorSpecPMERelabelingsBuilder edit() { + return new PodMonitorSpecPMERelabelingsBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMERelabelingsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap.java new file mode 100644 index 00000000000..48b557b9fc6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCConfigMap() { + } + + public PodMonitorSpecPMETCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMETCCConfigMapBuilder edit() { + return new PodMonitorSpecPMETCCConfigMapBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap_1.java new file mode 100644 index 00000000000..03ba627410b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCConfigMap_1() { + } + + public PodMonitorSpecPMETCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMETCCConfigMap_1Builder edit() { + return new PodMonitorSpecPMETCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret.java new file mode 100644 index 00000000000..0112d30a71b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCSecret() { + } + + public PodMonitorSpecPMETCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMETCCSecretBuilder edit() { + return new PodMonitorSpecPMETCCSecretBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret_1.java new file mode 100644 index 00000000000..8d8a286c982 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCSecret_1() { + } + + public PodMonitorSpecPMETCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMETCCSecret_1Builder edit() { + return new PodMonitorSpecPMETCCSecret_1Builder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCa.java new file mode 100644 index 00000000000..509ac264e68 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PodMonitorSpecPMETCCConfigMap configMap; + @JsonProperty("secret") + private PodMonitorSpecPMETCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCa() { + } + + public PodMonitorSpecPMETCCa(PodMonitorSpecPMETCCConfigMap configMap, PodMonitorSpecPMETCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PodMonitorSpecPMETCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PodMonitorSpecPMETCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PodMonitorSpecPMETCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PodMonitorSpecPMETCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PodMonitorSpecPMETCCaBuilder edit() { + return new PodMonitorSpecPMETCCaBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCert.java new file mode 100644 index 00000000000..f6de62b97ac --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PodMonitorSpecPMETCCConfigMap_1 configMap; + @JsonProperty("secret") + private PodMonitorSpecPMETCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCCert() { + } + + public PodMonitorSpecPMETCCert(PodMonitorSpecPMETCCConfigMap_1 configMap, PodMonitorSpecPMETCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PodMonitorSpecPMETCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PodMonitorSpecPMETCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PodMonitorSpecPMETCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PodMonitorSpecPMETCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PodMonitorSpecPMETCCertBuilder edit() { + return new PodMonitorSpecPMETCCertBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCKeySecret.java new file mode 100644 index 00000000000..da4aa308fad --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecPMETCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecPMETCKeySecret() { + } + + public PodMonitorSpecPMETCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PodMonitorSpecPMETCKeySecretBuilder edit() { + return new PodMonitorSpecPMETCKeySecretBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecPMETCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETlsConfig.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETlsConfig.java index 51214836673..3e49f15ce94 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMetricsEndpointTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecPMETlsConfig.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,17 +55,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PodMetricsEndpointTLSConfig implements Editable , KubernetesResource +public class PodMonitorSpecPMETlsConfig implements Editable , KubernetesResource { @JsonProperty("ca") - private SecretOrConfigMap ca; + private PodMonitorSpecPMETCCa ca; @JsonProperty("cert") - private SecretOrConfigMap cert; + private PodMonitorSpecPMETCCert cert; @JsonProperty("insecureSkipVerify") private Boolean insecureSkipVerify; @JsonProperty("keySecret") - private SecretKeySelector keySecret; + private PodMonitorSpecPMETCKeySecret keySecret; @JsonProperty("serverName") private String serverName; @JsonIgnore @@ -76,10 +75,10 @@ public class PodMetricsEndpointTLSConfig implements Editable , KubernetesResource +public class PodMonitorSpecPodMetricsEndpoints implements Editable , KubernetesResource { @JsonProperty("authorization") - private SafeAuthorization authorization; + private PodMonitorSpecPMEAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private PodMonitorSpecPMEBasicAuth basicAuth; @JsonProperty("bearerTokenSecret") - private SecretKeySelector bearerTokenSecret; + private PodMonitorSpecPMEBearerTokenSecret bearerTokenSecret; @JsonProperty("enableHttp2") private Boolean enableHttp2; @JsonProperty("filterRunning") @@ -95,9 +96,9 @@ public class PodMetricsEndpoint implements Editable , private String interval; @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List metricRelabelings = new ArrayList<>(); + private List metricRelabelings = new ArrayList<>(); @JsonProperty("oauth2") - private OAuth2 oauth2; + private PodMonitorSpecPMEOauth2 oauth2; @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map> params = new LinkedHashMap<>(); @@ -109,15 +110,18 @@ public class PodMetricsEndpoint implements Editable , private String proxyUrl; @JsonProperty("relabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List relabelings = new ArrayList<>(); + private List relabelings = new ArrayList<>(); @JsonProperty("scheme") private String scheme; @JsonProperty("scrapeTimeout") private String scrapeTimeout; @JsonProperty("targetPort") - private io.fabric8.kubernetes.api.model.IntOrString targetPort; + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object targetPort; @JsonProperty("tlsConfig") - private PodMetricsEndpointTLSConfig tlsConfig; + private PodMonitorSpecPMETlsConfig tlsConfig; + @JsonProperty("trackTimestampsStaleness") + private Boolean trackTimestampsStaleness; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -125,10 +129,10 @@ public class PodMetricsEndpoint implements Editable , * No args constructor for use in serialization * */ - public PodMetricsEndpoint() { + public PodMonitorSpecPodMetricsEndpoints() { } - public PodMetricsEndpoint(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean filterRunning, Boolean followRedirects, Boolean honorLabels, Boolean honorTimestamps, String interval, List metricRelabelings, OAuth2 oauth2, Map> params, String path, String port, String proxyUrl, List relabelings, String scheme, String scrapeTimeout, io.fabric8.kubernetes.api.model.IntOrString targetPort, PodMetricsEndpointTLSConfig tlsConfig) { + public PodMonitorSpecPodMetricsEndpoints(PodMonitorSpecPMEAuthorization authorization, PodMonitorSpecPMEBasicAuth basicAuth, PodMonitorSpecPMEBearerTokenSecret bearerTokenSecret, Boolean enableHttp2, Boolean filterRunning, Boolean followRedirects, Boolean honorLabels, Boolean honorTimestamps, String interval, List metricRelabelings, PodMonitorSpecPMEOauth2 oauth2, Map> params, String path, String port, String proxyUrl, List relabelings, String scheme, String scrapeTimeout, Object targetPort, PodMonitorSpecPMETlsConfig tlsConfig, Boolean trackTimestampsStaleness) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -150,35 +154,36 @@ public PodMetricsEndpoint(SafeAuthorization authorization, BasicAuth basicAuth, this.scrapeTimeout = scrapeTimeout; this.targetPort = targetPort; this.tlsConfig = tlsConfig; + this.trackTimestampsStaleness = trackTimestampsStaleness; } @JsonProperty("authorization") - public SafeAuthorization getAuthorization() { + public PodMonitorSpecPMEAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(SafeAuthorization authorization) { + public void setAuthorization(PodMonitorSpecPMEAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public PodMonitorSpecPMEBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(PodMonitorSpecPMEBasicAuth basicAuth) { this.basicAuth = basicAuth; } @JsonProperty("bearerTokenSecret") - public SecretKeySelector getBearerTokenSecret() { + public PodMonitorSpecPMEBearerTokenSecret getBearerTokenSecret() { return bearerTokenSecret; } @JsonProperty("bearerTokenSecret") - public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) { + public void setBearerTokenSecret(PodMonitorSpecPMEBearerTokenSecret bearerTokenSecret) { this.bearerTokenSecret = bearerTokenSecret; } @@ -244,22 +249,22 @@ public void setInterval(String interval) { @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMetricRelabelings() { + public List getMetricRelabelings() { return metricRelabelings; } @JsonProperty("metricRelabelings") - public void setMetricRelabelings(List metricRelabelings) { + public void setMetricRelabelings(List metricRelabelings) { this.metricRelabelings = metricRelabelings; } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public PodMonitorSpecPMEOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(PodMonitorSpecPMEOauth2 oauth2) { this.oauth2 = oauth2; } @@ -306,12 +311,12 @@ public void setProxyUrl(String proxyUrl) { @JsonProperty("relabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRelabelings() { + public List getRelabelings() { return relabelings; } @JsonProperty("relabelings") - public void setRelabelings(List relabelings) { + public void setRelabelings(List relabelings) { this.relabelings = relabelings; } @@ -336,32 +341,43 @@ public void setScrapeTimeout(String scrapeTimeout) { } @JsonProperty("targetPort") - public io.fabric8.kubernetes.api.model.IntOrString getTargetPort() { + public Object getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setTargetPort(Object targetPort) { this.targetPort = targetPort; } @JsonProperty("tlsConfig") - public PodMetricsEndpointTLSConfig getTlsConfig() { + public PodMonitorSpecPMETlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(PodMetricsEndpointTLSConfig tlsConfig) { + public void setTlsConfig(PodMonitorSpecPMETlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonProperty("trackTimestampsStaleness") + public Boolean getTrackTimestampsStaleness() { + return trackTimestampsStaleness; + } + + @JsonProperty("trackTimestampsStaleness") + public void setTrackTimestampsStaleness(Boolean trackTimestampsStaleness) { + this.trackTimestampsStaleness = trackTimestampsStaleness; + } + @JsonIgnore - public PodMetricsEndpointBuilder edit() { - return new PodMetricsEndpointBuilder(this); + public PodMonitorSpecPodMetricsEndpointsBuilder edit() { + return new PodMonitorSpecPodMetricsEndpointsBuilder(this); } @JsonIgnore - public PodMetricsEndpointBuilder toBuilder() { + public PodMonitorSpecPodMetricsEndpointsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecSelector.java new file mode 100644 index 00000000000..6019eddf93c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PodMonitorSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PodMonitorSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodMonitorSpecSelector() { + } + + public PodMonitorSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PodMonitorSpecSelectorBuilder edit() { + return new PodMonitorSpecSelectorBuilder(this); + } + + @JsonIgnore + public PodMonitorSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java index a878f3b9fb0..668112ee5c3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Probe.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -47,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -81,7 +82,7 @@ public class Probe implements Editable , HasMetadata, Namespaced @JsonProperty("kind") private String kind = "Probe"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ProbeSpec spec; @JsonIgnore @@ -94,7 +95,7 @@ public class Probe implements Editable , HasMetadata, Namespaced public Probe() { } - public Probe(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ProbeSpec spec) { + public Probe(String apiVersion, String kind, ObjectMeta metadata, ProbeSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -143,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java index a18cec2f30b..1c79211788f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpec.java @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -48,6 +47,8 @@ "oauth2", "prober", "sampleLimit", + "scrapeClass", + "scrapeProtocols", "scrapeTimeout", "targetLimit", "targets", @@ -75,11 +76,11 @@ public class ProbeSpec implements Editable , KubernetesResourc { @JsonProperty("authorization") - private SafeAuthorization authorization; + private ProbeSpecAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private ProbeSpecBasicAuth basicAuth; @JsonProperty("bearerTokenSecret") - private SecretKeySelector bearerTokenSecret; + private ProbeSpecBearerTokenSecret bearerTokenSecret; @JsonProperty("interval") private String interval; @JsonProperty("jobName") @@ -94,23 +95,28 @@ public class ProbeSpec implements Editable , KubernetesResourc private Long labelValueLengthLimit; @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List metricRelabelings = new ArrayList<>(); + private List metricRelabelings = new ArrayList<>(); @JsonProperty("module") private String module; @JsonProperty("oauth2") - private OAuth2 oauth2; + private ProbeSpecOauth2 oauth2; @JsonProperty("prober") - private ProberSpec prober; + private ProbeSpecProber prober; @JsonProperty("sampleLimit") private Long sampleLimit; + @JsonProperty("scrapeClass") + private String scrapeClass; + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scrapeProtocols = new ArrayList<>(); @JsonProperty("scrapeTimeout") private String scrapeTimeout; @JsonProperty("targetLimit") private Long targetLimit; @JsonProperty("targets") - private ProbeTargets targets; + private ProbeSpecTargets targets; @JsonProperty("tlsConfig") - private ProbeTLSConfig tlsConfig; + private ProbeSpecTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -121,7 +127,7 @@ public class ProbeSpec implements Editable , KubernetesResourc public ProbeSpec() { } - public ProbeSpec(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, String interval, String jobName, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, List metricRelabelings, String module, OAuth2 oauth2, ProberSpec prober, Long sampleLimit, String scrapeTimeout, Long targetLimit, ProbeTargets targets, ProbeTLSConfig tlsConfig) { + public ProbeSpec(ProbeSpecAuthorization authorization, ProbeSpecBasicAuth basicAuth, ProbeSpecBearerTokenSecret bearerTokenSecret, String interval, String jobName, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, List metricRelabelings, String module, ProbeSpecOauth2 oauth2, ProbeSpecProber prober, Long sampleLimit, String scrapeClass, List scrapeProtocols, String scrapeTimeout, Long targetLimit, ProbeSpecTargets targets, ProbeSpecTlsConfig tlsConfig) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -137,6 +143,8 @@ public ProbeSpec(SafeAuthorization authorization, BasicAuth basicAuth, SecretKey this.oauth2 = oauth2; this.prober = prober; this.sampleLimit = sampleLimit; + this.scrapeClass = scrapeClass; + this.scrapeProtocols = scrapeProtocols; this.scrapeTimeout = scrapeTimeout; this.targetLimit = targetLimit; this.targets = targets; @@ -144,32 +152,32 @@ public ProbeSpec(SafeAuthorization authorization, BasicAuth basicAuth, SecretKey } @JsonProperty("authorization") - public SafeAuthorization getAuthorization() { + public ProbeSpecAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(SafeAuthorization authorization) { + public void setAuthorization(ProbeSpecAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public ProbeSpecBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(ProbeSpecBasicAuth basicAuth) { this.basicAuth = basicAuth; } @JsonProperty("bearerTokenSecret") - public SecretKeySelector getBearerTokenSecret() { + public ProbeSpecBearerTokenSecret getBearerTokenSecret() { return bearerTokenSecret; } @JsonProperty("bearerTokenSecret") - public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) { + public void setBearerTokenSecret(ProbeSpecBearerTokenSecret bearerTokenSecret) { this.bearerTokenSecret = bearerTokenSecret; } @@ -235,12 +243,12 @@ public void setLabelValueLengthLimit(Long labelValueLengthLimit) { @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMetricRelabelings() { + public List getMetricRelabelings() { return metricRelabelings; } @JsonProperty("metricRelabelings") - public void setMetricRelabelings(List metricRelabelings) { + public void setMetricRelabelings(List metricRelabelings) { this.metricRelabelings = metricRelabelings; } @@ -255,22 +263,22 @@ public void setModule(String module) { } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public ProbeSpecOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(ProbeSpecOauth2 oauth2) { this.oauth2 = oauth2; } @JsonProperty("prober") - public ProberSpec getProber() { + public ProbeSpecProber getProber() { return prober; } @JsonProperty("prober") - public void setProber(ProberSpec prober) { + public void setProber(ProbeSpecProber prober) { this.prober = prober; } @@ -284,6 +292,27 @@ public void setSampleLimit(Long sampleLimit) { this.sampleLimit = sampleLimit; } + @JsonProperty("scrapeClass") + public String getScrapeClass() { + return scrapeClass; + } + + @JsonProperty("scrapeClass") + public void setScrapeClass(String scrapeClass) { + this.scrapeClass = scrapeClass; + } + + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScrapeProtocols() { + return scrapeProtocols; + } + + @JsonProperty("scrapeProtocols") + public void setScrapeProtocols(List scrapeProtocols) { + this.scrapeProtocols = scrapeProtocols; + } + @JsonProperty("scrapeTimeout") public String getScrapeTimeout() { return scrapeTimeout; @@ -305,22 +334,22 @@ public void setTargetLimit(Long targetLimit) { } @JsonProperty("targets") - public ProbeTargets getTargets() { + public ProbeSpecTargets getTargets() { return targets; } @JsonProperty("targets") - public void setTargets(ProbeTargets targets) { + public void setTargets(ProbeSpecTargets targets) { this.targets = targets; } @JsonProperty("tlsConfig") - public ProbeTLSConfig getTlsConfig() { + public ProbeSpecTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(ProbeTLSConfig tlsConfig) { + public void setTlsConfig(ProbeSpecTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecACredentials.java new file mode 100644 index 00000000000..9e5a2aa52c2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecACredentials() { + } + + public ProbeSpecACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecACredentialsBuilder edit() { + return new ProbeSpecACredentialsBuilder(this); + } + + @JsonIgnore + public ProbeSpecACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecAuthorization.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecAuthorization.java index 5f47a903b8a..437cf3de79f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeAuthorization.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecAuthorization.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +52,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SafeAuthorization implements Editable , KubernetesResource +public class ProbeSpecAuthorization implements Editable , KubernetesResource { @JsonProperty("credentials") - private SecretKeySelector credentials; + private ProbeSpecACredentials credentials; @JsonProperty("type") private String type; @JsonIgnore @@ -67,22 +66,22 @@ public class SafeAuthorization implements Editable , K * No args constructor for use in serialization * */ - public SafeAuthorization() { + public ProbeSpecAuthorization() { } - public SafeAuthorization(SecretKeySelector credentials, String type) { + public ProbeSpecAuthorization(ProbeSpecACredentials credentials, String type) { super(); this.credentials = credentials; this.type = type; } @JsonProperty("credentials") - public SecretKeySelector getCredentials() { + public ProbeSpecACredentials getCredentials() { return credentials; } @JsonProperty("credentials") - public void setCredentials(SecretKeySelector credentials) { + public void setCredentials(ProbeSpecACredentials credentials) { this.credentials = credentials; } @@ -97,12 +96,12 @@ public void setType(String type) { } @JsonIgnore - public SafeAuthorizationBuilder edit() { - return new SafeAuthorizationBuilder(this); + public ProbeSpecAuthorizationBuilder edit() { + return new ProbeSpecAuthorizationBuilder(this); } @JsonIgnore - public SafeAuthorizationBuilder toBuilder() { + public ProbeSpecAuthorizationBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuth.java similarity index 82% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuth.java index e76aa20b91b..361a6e8043c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/BasicAuth.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuth.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,13 +52,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class BasicAuth implements Editable , KubernetesResource +public class ProbeSpecBasicAuth implements Editable , KubernetesResource { @JsonProperty("password") - private SecretKeySelector password; + private ProbeSpecBasicAuthPassword password; @JsonProperty("username") - private SecretKeySelector username; + private ProbeSpecBasicAuthUsername username; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -67,42 +66,42 @@ public class BasicAuth implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public BasicAuth() { + public ProbeSpecBasicAuth() { } - public BasicAuth(SecretKeySelector password, SecretKeySelector username) { + public ProbeSpecBasicAuth(ProbeSpecBasicAuthPassword password, ProbeSpecBasicAuthUsername username) { super(); this.password = password; this.username = username; } @JsonProperty("password") - public SecretKeySelector getPassword() { + public ProbeSpecBasicAuthPassword getPassword() { return password; } @JsonProperty("password") - public void setPassword(SecretKeySelector password) { + public void setPassword(ProbeSpecBasicAuthPassword password) { this.password = password; } @JsonProperty("username") - public SecretKeySelector getUsername() { + public ProbeSpecBasicAuthUsername getUsername() { return username; } @JsonProperty("username") - public void setUsername(SecretKeySelector username) { + public void setUsername(ProbeSpecBasicAuthUsername username) { this.username = username; } @JsonIgnore - public BasicAuthBuilder edit() { - return new BasicAuthBuilder(this); + public ProbeSpecBasicAuthBuilder edit() { + return new ProbeSpecBasicAuthBuilder(this); } @JsonIgnore - public BasicAuthBuilder toBuilder() { + public ProbeSpecBasicAuthBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthPassword.java new file mode 100644 index 00000000000..00148eddc6d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecBasicAuthPassword() { + } + + public ProbeSpecBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecBasicAuthPasswordBuilder edit() { + return new ProbeSpecBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public ProbeSpecBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthUsername.java new file mode 100644 index 00000000000..364a01e0c93 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecBasicAuthUsername() { + } + + public ProbeSpecBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecBasicAuthUsernameBuilder edit() { + return new ProbeSpecBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public ProbeSpecBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBearerTokenSecret.java new file mode 100644 index 00000000000..b566b92fc5e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecBearerTokenSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecBearerTokenSecret() { + } + + public ProbeSpecBearerTokenSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecBearerTokenSecretBuilder edit() { + return new ProbeSpecBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public ProbeSpecBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecMetricRelabelings.java similarity index 91% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecMetricRelabelings.java index ec4f714ba9a..d349a543952 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RelabelConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecMetricRelabelings.java @@ -59,7 +59,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RelabelConfig implements Editable , KubernetesResource +public class ProbeSpecMetricRelabelings implements Editable , KubernetesResource { @JsonProperty("action") @@ -84,10 +84,10 @@ public class RelabelConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public RelabelConfig() { + public ProbeSpecMetricRelabelings() { } - public RelabelConfig(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + public ProbeSpecMetricRelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { super(); this.action = action; this.modulus = modulus; @@ -170,12 +170,12 @@ public void setTargetLabel(String targetLabel) { } @JsonIgnore - public RelabelConfigBuilder edit() { - return new RelabelConfigBuilder(this); + public ProbeSpecMetricRelabelingsBuilder edit() { + return new ProbeSpecMetricRelabelingsBuilder(this); } @JsonIgnore - public RelabelConfigBuilder toBuilder() { + public ProbeSpecMetricRelabelingsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCIConfigMap.java new file mode 100644 index 00000000000..60feace6330 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecOCIConfigMap() { + } + + public ProbeSpecOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecOCIConfigMapBuilder edit() { + return new ProbeSpecOCIConfigMapBuilder(this); + } + + @JsonIgnore + public ProbeSpecOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCISecret.java new file mode 100644 index 00000000000..03e499fa77b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecOCISecret() { + } + + public ProbeSpecOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecOCISecretBuilder edit() { + return new ProbeSpecOCISecretBuilder(this); + } + + @JsonIgnore + public ProbeSpecOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientId.java new file mode 100644 index 00000000000..05af458fde4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ProbeSpecOCIConfigMap configMap; + @JsonProperty("secret") + private ProbeSpecOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecOClientId() { + } + + public ProbeSpecOClientId(ProbeSpecOCIConfigMap configMap, ProbeSpecOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ProbeSpecOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ProbeSpecOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ProbeSpecOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ProbeSpecOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ProbeSpecOClientIdBuilder edit() { + return new ProbeSpecOClientIdBuilder(this); + } + + @JsonIgnore + public ProbeSpecOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientSecret.java new file mode 100644 index 00000000000..0a4ea6c977c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecOClientSecret() { + } + + public ProbeSpecOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecOClientSecretBuilder edit() { + return new ProbeSpecOClientSecretBuilder(this); + } + + @JsonIgnore + public ProbeSpecOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOauth2.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOauth2.java index c67336c007e..627c45bb892 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/OAuth2.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecOauth2.java @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,13 +57,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OAuth2 implements Editable , KubernetesResource +public class ProbeSpecOauth2 implements Editable , KubernetesResource { @JsonProperty("clientId") - private SecretOrConfigMap clientId; + private ProbeSpecOClientId clientId; @JsonProperty("clientSecret") - private SecretKeySelector clientSecret; + private ProbeSpecOClientSecret clientSecret; @JsonProperty("endpointParams") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map endpointParams = new LinkedHashMap<>(); @@ -80,10 +79,10 @@ public class OAuth2 implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public OAuth2() { + public ProbeSpecOauth2() { } - public OAuth2(SecretOrConfigMap clientId, SecretKeySelector clientSecret, Map endpointParams, List scopes, String tokenUrl) { + public ProbeSpecOauth2(ProbeSpecOClientId clientId, ProbeSpecOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { super(); this.clientId = clientId; this.clientSecret = clientSecret; @@ -93,22 +92,22 @@ public OAuth2(SecretOrConfigMap clientId, SecretKeySelector clientSecret, Map , KubernetesResource +public class ProbeSpecProber implements Editable , KubernetesResource { @JsonProperty("path") @@ -72,10 +72,10 @@ public class ProberSpec implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public ProberSpec() { + public ProbeSpecProber() { } - public ProberSpec(String path, String proxyUrl, String scheme, String url) { + public ProbeSpecProber(String path, String proxyUrl, String scheme, String url) { super(); this.path = path; this.proxyUrl = proxyUrl; @@ -124,12 +124,12 @@ public void setUrl(String url) { } @JsonIgnore - public ProberSpecBuilder edit() { - return new ProberSpecBuilder(this); + public ProbeSpecProberBuilder edit() { + return new ProbeSpecProberBuilder(this); } @JsonIgnore - public ProberSpecBuilder toBuilder() { + public ProbeSpecProberBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap.java new file mode 100644 index 00000000000..041071b0f29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCConfigMap() { + } + + public ProbeSpecTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecTCCConfigMapBuilder edit() { + return new ProbeSpecTCCConfigMapBuilder(this); + } + + @JsonIgnore + public ProbeSpecTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap_1.java new file mode 100644 index 00000000000..8b05ee23b2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCConfigMap_1() { + } + + public ProbeSpecTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecTCCConfigMap_1Builder edit() { + return new ProbeSpecTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public ProbeSpecTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret.java new file mode 100644 index 00000000000..7be68fd0473 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCSecret() { + } + + public ProbeSpecTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecTCCSecretBuilder edit() { + return new ProbeSpecTCCSecretBuilder(this); + } + + @JsonIgnore + public ProbeSpecTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret_1.java new file mode 100644 index 00000000000..0a86f796f03 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCSecret_1() { + } + + public ProbeSpecTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecTCCSecret_1Builder edit() { + return new ProbeSpecTCCSecret_1Builder(this); + } + + @JsonIgnore + public ProbeSpecTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCa.java new file mode 100644 index 00000000000..493c740e13c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ProbeSpecTCCConfigMap configMap; + @JsonProperty("secret") + private ProbeSpecTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCa() { + } + + public ProbeSpecTCCa(ProbeSpecTCCConfigMap configMap, ProbeSpecTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ProbeSpecTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ProbeSpecTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ProbeSpecTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ProbeSpecTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ProbeSpecTCCaBuilder edit() { + return new ProbeSpecTCCaBuilder(this); + } + + @JsonIgnore + public ProbeSpecTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCert.java new file mode 100644 index 00000000000..1c78d1b8a3b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ProbeSpecTCCConfigMap_1 configMap; + @JsonProperty("secret") + private ProbeSpecTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCCert() { + } + + public ProbeSpecTCCert(ProbeSpecTCCConfigMap_1 configMap, ProbeSpecTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ProbeSpecTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ProbeSpecTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ProbeSpecTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ProbeSpecTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public ProbeSpecTCCertBuilder edit() { + return new ProbeSpecTCCertBuilder(this); + } + + @JsonIgnore + public ProbeSpecTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCKeySecret.java new file mode 100644 index 00000000000..b2291725de8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTCKeySecret() { + } + + public ProbeSpecTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ProbeSpecTCKeySecretBuilder edit() { + return new ProbeSpecTCKeySecretBuilder(this); + } + + @JsonIgnore + public ProbeSpecTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTINamespaceSelector.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTINamespaceSelector.java index 31dcb042265..2cb02ab61d9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/NamespaceSelector.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTINamespaceSelector.java @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class NamespaceSelector implements Editable , KubernetesResource +public class ProbeSpecTINamespaceSelector implements Editable , KubernetesResource { @JsonProperty("any") @@ -69,10 +69,10 @@ public class NamespaceSelector implements Editable , K * No args constructor for use in serialization * */ - public NamespaceSelector() { + public ProbeSpecTINamespaceSelector() { } - public NamespaceSelector(Boolean any, List matchNames) { + public ProbeSpecTINamespaceSelector(Boolean any, List matchNames) { super(); this.any = any; this.matchNames = matchNames; @@ -100,12 +100,12 @@ public void setMatchNames(List matchNames) { } @JsonIgnore - public NamespaceSelectorBuilder edit() { - return new NamespaceSelectorBuilder(this); + public ProbeSpecTINamespaceSelectorBuilder edit() { + return new ProbeSpecTINamespaceSelectorBuilder(this); } @JsonIgnore - public NamespaceSelectorBuilder toBuilder() { + public ProbeSpecTINamespaceSelectorBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIRelabelingConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIRelabelingConfigs.java new file mode 100644 index 00000000000..d2ff94cdcb7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIRelabelingConfigs.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTIRelabelingConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTIRelabelingConfigs() { + } + + public ProbeSpecTIRelabelingConfigs(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public ProbeSpecTIRelabelingConfigsBuilder edit() { + return new ProbeSpecTIRelabelingConfigsBuilder(this); + } + + @JsonIgnore + public ProbeSpecTIRelabelingConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTISelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTISelector.java new file mode 100644 index 00000000000..df2c2b7068e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTISelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTISelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTISelector() { + } + + public ProbeSpecTISelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ProbeSpecTISelectorBuilder edit() { + return new ProbeSpecTISelectorBuilder(this); + } + + @JsonIgnore + public ProbeSpecTISelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIngress.java similarity index 76% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIngress.java index fbd73132ab4..a8733251137 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetIngress.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTIngress.java @@ -17,6 +17,7 @@ import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -44,7 +45,7 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @@ -54,16 +55,16 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargetIngress implements Editable , KubernetesResource +public class ProbeSpecTIngress implements Editable , KubernetesResource { @JsonProperty("namespaceSelector") - private NamespaceSelector namespaceSelector; + private ProbeSpecTINamespaceSelector namespaceSelector; @JsonProperty("relabelingConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List relabelingConfigs = new ArrayList<>(); + private List relabelingConfigs = new ArrayList<>(); @JsonProperty("selector") - private io.fabric8.kubernetes.api.model.LabelSelector selector; + private ProbeSpecTISelector selector; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -71,10 +72,10 @@ public class ProbeTargetIngress implements Editable , * No args constructor for use in serialization * */ - public ProbeTargetIngress() { + public ProbeSpecTIngress() { } - public ProbeTargetIngress(NamespaceSelector namespaceSelector, List relabelingConfigs, io.fabric8.kubernetes.api.model.LabelSelector selector) { + public ProbeSpecTIngress(ProbeSpecTINamespaceSelector namespaceSelector, List relabelingConfigs, ProbeSpecTISelector selector) { super(); this.namespaceSelector = namespaceSelector; this.relabelingConfigs = relabelingConfigs; @@ -82,43 +83,43 @@ public ProbeTargetIngress(NamespaceSelector namespaceSelector, List getRelabelingConfigs() { + public List getRelabelingConfigs() { return relabelingConfigs; } @JsonProperty("relabelingConfigs") - public void setRelabelingConfigs(List relabelingConfigs) { + public void setRelabelingConfigs(List relabelingConfigs) { this.relabelingConfigs = relabelingConfigs; } @JsonProperty("selector") - public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + public ProbeSpecTISelector getSelector() { return selector; } @JsonProperty("selector") - public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + public void setSelector(ProbeSpecTISelector selector) { this.selector = selector; } @JsonIgnore - public ProbeTargetIngressBuilder edit() { - return new ProbeTargetIngressBuilder(this); + public ProbeSpecTIngressBuilder edit() { + return new ProbeSpecTIngressBuilder(this); } @JsonIgnore - public ProbeTargetIngressBuilder toBuilder() { + public ProbeSpecTIngressBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTSCRelabelingConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTSCRelabelingConfigs.java new file mode 100644 index 00000000000..d462fbaf9a8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTSCRelabelingConfigs.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ProbeSpecTSCRelabelingConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ProbeSpecTSCRelabelingConfigs() { + } + + public ProbeSpecTSCRelabelingConfigs(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public ProbeSpecTSCRelabelingConfigsBuilder edit() { + return new ProbeSpecTSCRelabelingConfigsBuilder(this); + } + + @JsonIgnore + public ProbeSpecTSCRelabelingConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTStaticConfig.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTStaticConfig.java index c74764f7417..653fe0b95f8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargetStaticConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTStaticConfig.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargetStaticConfig implements Editable , KubernetesResource +public class ProbeSpecTStaticConfig implements Editable , KubernetesResource { @JsonProperty("labels") @@ -63,7 +63,7 @@ public class ProbeTargetStaticConfig implements Editable labels = new LinkedHashMap<>(); @JsonProperty("relabelingConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List relabelingConfigs = new ArrayList<>(); + private List relabelingConfigs = new ArrayList<>(); @JsonProperty("static") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List _static = new ArrayList<>(); @@ -74,10 +74,10 @@ public class ProbeTargetStaticConfig implements Editable labels, List relabelingConfigs, List _static) { + public ProbeSpecTStaticConfig(Map labels, List relabelingConfigs, List _static) { super(); this.labels = labels; this.relabelingConfigs = relabelingConfigs; @@ -97,12 +97,12 @@ public void setLabels(Map labels) { @JsonProperty("relabelingConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRelabelingConfigs() { + public List getRelabelingConfigs() { return relabelingConfigs; } @JsonProperty("relabelingConfigs") - public void setRelabelingConfigs(List relabelingConfigs) { + public void setRelabelingConfigs(List relabelingConfigs) { this.relabelingConfigs = relabelingConfigs; } @@ -118,12 +118,12 @@ public void setStatic(List _static) { } @JsonIgnore - public ProbeTargetStaticConfigBuilder edit() { - return new ProbeTargetStaticConfigBuilder(this); + public ProbeSpecTStaticConfigBuilder edit() { + return new ProbeSpecTStaticConfigBuilder(this); } @JsonIgnore - public ProbeTargetStaticConfigBuilder toBuilder() { + public ProbeSpecTStaticConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTargets.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTargets.java index b4c8bf8d50a..47e08f1dd65 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeTargets.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTargets.java @@ -52,13 +52,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ProbeTargets implements Editable , KubernetesResource +public class ProbeSpecTargets implements Editable , KubernetesResource { @JsonProperty("ingress") - private ProbeTargetIngress ingress; + private ProbeSpecTIngress ingress; @JsonProperty("staticConfig") - private ProbeTargetStaticConfig staticConfig; + private ProbeSpecTStaticConfig staticConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -66,42 +66,42 @@ public class ProbeTargets implements Editable , KubernetesR * No args constructor for use in serialization * */ - public ProbeTargets() { + public ProbeSpecTargets() { } - public ProbeTargets(ProbeTargetIngress ingress, ProbeTargetStaticConfig staticConfig) { + public ProbeSpecTargets(ProbeSpecTIngress ingress, ProbeSpecTStaticConfig staticConfig) { super(); this.ingress = ingress; this.staticConfig = staticConfig; } @JsonProperty("ingress") - public ProbeTargetIngress getIngress() { + public ProbeSpecTIngress getIngress() { return ingress; } @JsonProperty("ingress") - public void setIngress(ProbeTargetIngress ingress) { + public void setIngress(ProbeSpecTIngress ingress) { this.ingress = ingress; } @JsonProperty("staticConfig") - public ProbeTargetStaticConfig getStaticConfig() { + public ProbeSpecTStaticConfig getStaticConfig() { return staticConfig; } @JsonProperty("staticConfig") - public void setStaticConfig(ProbeTargetStaticConfig staticConfig) { + public void setStaticConfig(ProbeSpecTStaticConfig staticConfig) { this.staticConfig = staticConfig; } @JsonIgnore - public ProbeTargetsBuilder edit() { - return new ProbeTargetsBuilder(this); + public ProbeSpecTargetsBuilder edit() { + return new ProbeSpecTargetsBuilder(this); } @JsonIgnore - public ProbeTargetsBuilder toBuilder() { + public ProbeSpecTargetsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTlsConfig.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTlsConfig.java index 436f8ef498b..f3ff90472f1 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/SafeTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ProbeSpecTlsConfig.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,17 +55,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SafeTLSConfig implements Editable , KubernetesResource +public class ProbeSpecTlsConfig implements Editable , KubernetesResource { @JsonProperty("ca") - private SecretOrConfigMap ca; + private ProbeSpecTCCa ca; @JsonProperty("cert") - private SecretOrConfigMap cert; + private ProbeSpecTCCert cert; @JsonProperty("insecureSkipVerify") private Boolean insecureSkipVerify; @JsonProperty("keySecret") - private SecretKeySelector keySecret; + private ProbeSpecTCKeySecret keySecret; @JsonProperty("serverName") private String serverName; @JsonIgnore @@ -76,10 +75,10 @@ public class SafeTLSConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public SafeTLSConfig() { + public ProbeSpecTlsConfig() { } - public SafeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean insecureSkipVerify, SecretKeySelector keySecret, String serverName) { + public ProbeSpecTlsConfig(ProbeSpecTCCa ca, ProbeSpecTCCert cert, Boolean insecureSkipVerify, ProbeSpecTCKeySecret keySecret, String serverName) { super(); this.ca = ca; this.cert = cert; @@ -89,22 +88,22 @@ public SafeTLSConfig(SecretOrConfigMap ca, SecretOrConfigMap cert, Boolean insec } @JsonProperty("ca") - public SecretOrConfigMap getCa() { + public ProbeSpecTCCa getCa() { return ca; } @JsonProperty("ca") - public void setCa(SecretOrConfigMap ca) { + public void setCa(ProbeSpecTCCa ca) { this.ca = ca; } @JsonProperty("cert") - public SecretOrConfigMap getCert() { + public ProbeSpecTCCert getCert() { return cert; } @JsonProperty("cert") - public void setCert(SecretOrConfigMap cert) { + public void setCert(ProbeSpecTCCert cert) { this.cert = cert; } @@ -119,12 +118,12 @@ public void setInsecureSkipVerify(Boolean insecureSkipVerify) { } @JsonProperty("keySecret") - public SecretKeySelector getKeySecret() { + public ProbeSpecTCKeySecret getKeySecret() { return keySecret; } @JsonProperty("keySecret") - public void setKeySecret(SecretKeySelector keySecret) { + public void setKeySecret(ProbeSpecTCKeySecret keySecret) { this.keySecret = keySecret; } @@ -139,12 +138,12 @@ public void setServerName(String serverName) { } @JsonIgnore - public SafeTLSConfigBuilder edit() { - return new SafeTLSConfigBuilder(this); + public ProbeSpecTlsConfigBuilder edit() { + return new ProbeSpecTlsConfigBuilder(this); } @JsonIgnore - public SafeTLSConfigBuilder toBuilder() { + public ProbeSpecTlsConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java index bfb862aab18..8f93e805c8c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Prometheus.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -48,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -82,7 +83,7 @@ public class Prometheus implements Editable , HasMetadata, Na @JsonProperty("kind") private String kind = "Prometheus"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PrometheusSpec spec; @JsonProperty("status") @@ -97,7 +98,7 @@ public class Prometheus implements Editable , HasMetadata, Na public Prometheus() { } - public Prometheus(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PrometheusSpec spec, PrometheusStatus status) { + public Prometheus(String apiVersion, String kind, ObjectMeta metadata, PrometheusSpec spec, PrometheusStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -147,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java index b64bc7b2469..d1c13787f3a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRule.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -47,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -81,7 +82,7 @@ public class PrometheusRule implements Editable , HasMeta @JsonProperty("kind") private String kind = "PrometheusRule"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PrometheusRuleSpec spec; @JsonIgnore @@ -94,7 +95,7 @@ public class PrometheusRule implements Editable , HasMeta public PrometheusRule() { } - public PrometheusRule(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PrometheusRuleSpec spec) { + public PrometheusRule(String apiVersion, String kind, ObjectMeta metadata, PrometheusRuleSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -143,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java index 58f0ba598fd..601244da674 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpec.java @@ -58,7 +58,7 @@ public class PrometheusRuleSpec implements Editable , @JsonProperty("groups") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List groups = new ArrayList<>(); + private List groups = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -69,19 +69,19 @@ public class PrometheusRuleSpec implements Editable , public PrometheusRuleSpec() { } - public PrometheusRuleSpec(List groups) { + public PrometheusRuleSpec(List groups) { super(); this.groups = groups; } @JsonProperty("groups") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGroups() { + public List getGroups() { return groups; } @JsonProperty("groups") - public void setGroups(List groups) { + public void setGroups(List groups) { this.groups = groups; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGRules.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGRules.java index d602e9e94d3..baf12fef76f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGRules.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -50,13 +51,13 @@ @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), - @BuildableReference(io.fabric8.kubernetes.api.model.IntOrString.class), + @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Rule implements Editable , KubernetesResource +public class PrometheusRuleSpecGRules implements Editable , KubernetesResource { @JsonProperty("alert") @@ -65,11 +66,12 @@ public class Rule implements Editable , KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @JsonProperty("expr") - private io.fabric8.kubernetes.api.model.IntOrString expr; + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object expr; @JsonProperty("for") private String _for; @JsonProperty("keep_firing_for") - private String keepFiringFor; + private String keep_firing_for; @JsonProperty("labels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labels = new LinkedHashMap<>(); @@ -82,16 +84,16 @@ public class Rule implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Rule() { + public PrometheusRuleSpecGRules() { } - public Rule(String alert, Map annotations, io.fabric8.kubernetes.api.model.IntOrString expr, String _for, String keepFiringFor, Map labels, String record) { + public PrometheusRuleSpecGRules(String alert, Map annotations, Object expr, String _for, String keep_firing_for, Map labels, String record) { super(); this.alert = alert; this.annotations = annotations; this.expr = expr; this._for = _for; - this.keepFiringFor = keepFiringFor; + this.keep_firing_for = keep_firing_for; this.labels = labels; this.record = record; } @@ -118,12 +120,13 @@ public void setAnnotations(Map annotations) { } @JsonProperty("expr") - public io.fabric8.kubernetes.api.model.IntOrString getExpr() { + public Object getExpr() { return expr; } @JsonProperty("expr") - public void setExpr(io.fabric8.kubernetes.api.model.IntOrString expr) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setExpr(Object expr) { this.expr = expr; } @@ -138,13 +141,13 @@ public void setFor(String _for) { } @JsonProperty("keep_firing_for") - public String getKeepFiringFor() { - return keepFiringFor; + public String getKeep_firing_for() { + return keep_firing_for; } @JsonProperty("keep_firing_for") - public void setKeepFiringFor(String keepFiringFor) { - this.keepFiringFor = keepFiringFor; + public void setKeep_firing_for(String keep_firing_for) { + this.keep_firing_for = keep_firing_for; } @JsonProperty("labels") @@ -169,12 +172,12 @@ public void setRecord(String record) { } @JsonIgnore - public RuleBuilder edit() { - return new RuleBuilder(this); + public PrometheusRuleSpecGRulesBuilder edit() { + return new PrometheusRuleSpecGRulesBuilder(this); } @JsonIgnore - public RuleBuilder toBuilder() { + public PrometheusRuleSpecGRulesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGroups.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGroups.java index fce150c6838..924b3301bb4 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RuleGroup.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleSpecGroups.java @@ -57,7 +57,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RuleGroup implements Editable , KubernetesResource +public class PrometheusRuleSpecGroups implements Editable , KubernetesResource { @JsonProperty("interval") @@ -67,10 +67,10 @@ public class RuleGroup implements Editable , KubernetesResourc @JsonProperty("name") private String name; @JsonProperty("partial_response_strategy") - private String partialResponseStrategy; + private String partial_response_strategy; @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List rules = new ArrayList<>(); + private List rules = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -78,15 +78,15 @@ public class RuleGroup implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public RuleGroup() { + public PrometheusRuleSpecGroups() { } - public RuleGroup(String interval, Integer limit, String name, String partialResponseStrategy, List rules) { + public PrometheusRuleSpecGroups(String interval, Integer limit, String name, String partial_response_strategy, List rules) { super(); this.interval = interval; this.limit = limit; this.name = name; - this.partialResponseStrategy = partialResponseStrategy; + this.partial_response_strategy = partial_response_strategy; this.rules = rules; } @@ -121,33 +121,33 @@ public void setName(String name) { } @JsonProperty("partial_response_strategy") - public String getPartialResponseStrategy() { - return partialResponseStrategy; + public String getPartial_response_strategy() { + return partial_response_strategy; } @JsonProperty("partial_response_strategy") - public void setPartialResponseStrategy(String partialResponseStrategy) { - this.partialResponseStrategy = partialResponseStrategy; + public void setPartial_response_strategy(String partial_response_strategy) { + this.partial_response_strategy = partial_response_strategy; } @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRules() { + public List getRules() { return rules; } @JsonProperty("rules") - public void setRules(List rules) { + public void setRules(List rules) { this.rules = rules; } @JsonIgnore - public RuleGroupBuilder edit() { - return new RuleGroupBuilder(this); + public PrometheusRuleSpecGroupsBuilder edit() { + return new PrometheusRuleSpecGroupsBuilder(this); } @JsonIgnore - public RuleGroupBuilder toBuilder() { + public PrometheusRuleSpecGroupsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java index 7e44b3940a1..634b3b656b4 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpec.java @@ -14,18 +14,16 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Affinity; +import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodSecurityContext; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.SecretKeySelector; -import io.fabric8.kubernetes.api.model.Toleration; -import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -79,11 +77,13 @@ "listenLocal", "logFormat", "logLevel", + "maximumStartupDurationSeconds", "minReadySeconds", "nodeSelector", "overrideHonorLabels", "overrideHonorTimestamps", "paused", + "persistentVolumeClaimRetentionPolicy", "podMetadata", "podMonitorNamespaceSelector", "podMonitorSelector", @@ -96,6 +96,7 @@ "prometheusRulesExcludedFromEnforce", "query", "queryLogFile", + "reloadStrategy", "remoteRead", "remoteWrite", "replicaExternalLabelName", @@ -108,9 +109,11 @@ "ruleSelector", "rules", "sampleLimit", + "scrapeClasses", "scrapeConfigNamespaceSelector", "scrapeConfigSelector", "scrapeInterval", + "scrapeProtocols", "scrapeTimeout", "secrets", "securityContext", @@ -141,13 +144,13 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Container.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") @@ -155,24 +158,24 @@ public class PrometheusSpec implements Editable , Kuberne { @JsonProperty("additionalAlertManagerConfigs") - private SecretKeySelector additionalAlertManagerConfigs; + private PrometheusSpecAdditionalAlertManagerConfigs additionalAlertManagerConfigs; @JsonProperty("additionalAlertRelabelConfigs") - private SecretKeySelector additionalAlertRelabelConfigs; + private PrometheusSpecAdditionalAlertRelabelConfigs additionalAlertRelabelConfigs; @JsonProperty("additionalArgs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List additionalArgs = new ArrayList<>(); + private List additionalArgs = new ArrayList<>(); @JsonProperty("additionalScrapeConfigs") - private SecretKeySelector additionalScrapeConfigs; + private PrometheusSpecAdditionalScrapeConfigs additionalScrapeConfigs; @JsonProperty("affinity") - private Affinity affinity; + private PrometheusSpecAffinity affinity; @JsonProperty("alerting") - private AlertingSpec alerting; + private PrometheusSpecAlerting alerting; @JsonProperty("allowOverlappingBlocks") private Boolean allowOverlappingBlocks; @JsonProperty("apiserverConfig") - private APIServerConfig apiserverConfig; + private PrometheusSpecApiserverConfig apiserverConfig; @JsonProperty("arbitraryFSAccessThroughSMs") - private ArbitraryFSAccessThroughSMsConfig arbitraryFSAccessThroughSMs; + private PrometheusSpecArbitraryFSAccessThroughSMs arbitraryFSAccessThroughSMs; @JsonProperty("baseImage") private String baseImage; @JsonProperty("bodySizeLimit") @@ -182,7 +185,7 @@ public class PrometheusSpec implements Editable , Kuberne private List configMaps = new ArrayList<>(); @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containers = new ArrayList<>(); + private List containers = new ArrayList<>(); @JsonProperty("disableCompaction") private Boolean disableCompaction; @JsonProperty("enableAdminAPI") @@ -212,9 +215,9 @@ public class PrometheusSpec implements Editable , Kuberne private String evaluationInterval; @JsonProperty("excludedFromEnforcement") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List excludedFromEnforcement = new ArrayList<>(); + private List excludedFromEnforcement = new ArrayList<>(); @JsonProperty("exemplars") - private Exemplars exemplars; + private PrometheusSpecExemplars exemplars; @JsonProperty("externalLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map externalLabels = new LinkedHashMap<>(); @@ -222,7 +225,7 @@ public class PrometheusSpec implements Editable , Kuberne private String externalUrl; @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hostAliases = new ArrayList<>(); + private List hostAliases = new ArrayList<>(); @JsonProperty("hostNetwork") private Boolean hostNetwork; @JsonProperty("ignoreNamespaceSelectors") @@ -233,10 +236,10 @@ public class PrometheusSpec implements Editable , Kuberne private String imagePullPolicy; @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); + private List imagePullSecrets = new ArrayList<>(); @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List initContainers = new ArrayList<>(); + private List initContainers = new ArrayList<>(); @JsonProperty("keepDroppedTargets") private Long keepDroppedTargets; @JsonProperty("labelLimit") @@ -251,6 +254,8 @@ public class PrometheusSpec implements Editable , Kuberne private String logFormat; @JsonProperty("logLevel") private String logLevel; + @JsonProperty("maximumStartupDurationSeconds") + private Integer maximumStartupDurationSeconds; @JsonProperty("minReadySeconds") private Integer minReadySeconds; @JsonProperty("nodeSelector") @@ -262,12 +267,14 @@ public class PrometheusSpec implements Editable , Kuberne private Boolean overrideHonorTimestamps; @JsonProperty("paused") private Boolean paused; + @JsonProperty("persistentVolumeClaimRetentionPolicy") + private PrometheusSpecPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy; @JsonProperty("podMetadata") - private EmbeddedObjectMetadata podMetadata; + private PrometheusSpecPodMetadata podMetadata; @JsonProperty("podMonitorNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector podMonitorNamespaceSelector; + private PrometheusSpecPodMonitorNamespaceSelector podMonitorNamespaceSelector; @JsonProperty("podMonitorSelector") - private io.fabric8.kubernetes.api.model.LabelSelector podMonitorSelector; + private PrometheusSpecPodMonitorSelector podMonitorSelector; @JsonProperty("podTargetLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List podTargetLabels = new ArrayList<>(); @@ -276,30 +283,32 @@ public class PrometheusSpec implements Editable , Kuberne @JsonProperty("priorityClassName") private String priorityClassName; @JsonProperty("probeNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector probeNamespaceSelector; + private PrometheusSpecProbeNamespaceSelector probeNamespaceSelector; @JsonProperty("probeSelector") - private io.fabric8.kubernetes.api.model.LabelSelector probeSelector; + private PrometheusSpecProbeSelector probeSelector; @JsonProperty("prometheusExternalLabelName") private String prometheusExternalLabelName; @JsonProperty("prometheusRulesExcludedFromEnforce") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List prometheusRulesExcludedFromEnforce = new ArrayList<>(); + private List prometheusRulesExcludedFromEnforce = new ArrayList<>(); @JsonProperty("query") - private QuerySpec query; + private PrometheusSpecQuery query; @JsonProperty("queryLogFile") private String queryLogFile; + @JsonProperty("reloadStrategy") + private String reloadStrategy; @JsonProperty("remoteRead") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List remoteRead = new ArrayList<>(); + private List remoteRead = new ArrayList<>(); @JsonProperty("remoteWrite") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List remoteWrite = new ArrayList<>(); + private List remoteWrite = new ArrayList<>(); @JsonProperty("replicaExternalLabelName") private String replicaExternalLabelName; @JsonProperty("replicas") private Integer replicas; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private PrometheusSpecResources resources; @JsonProperty("retention") private String retention; @JsonProperty("retentionSize") @@ -307,66 +316,72 @@ public class PrometheusSpec implements Editable , Kuberne @JsonProperty("routePrefix") private String routePrefix; @JsonProperty("ruleNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector; + private PrometheusSpecRuleNamespaceSelector ruleNamespaceSelector; @JsonProperty("ruleSelector") - private io.fabric8.kubernetes.api.model.LabelSelector ruleSelector; + private PrometheusSpecRuleSelector ruleSelector; @JsonProperty("rules") - private Rules rules; + private PrometheusSpecRules rules; @JsonProperty("sampleLimit") private Long sampleLimit; + @JsonProperty("scrapeClasses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scrapeClasses = new ArrayList<>(); @JsonProperty("scrapeConfigNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigNamespaceSelector; + private PrometheusSpecScrapeConfigNamespaceSelector scrapeConfigNamespaceSelector; @JsonProperty("scrapeConfigSelector") - private io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigSelector; + private PrometheusSpecScrapeConfigSelector scrapeConfigSelector; @JsonProperty("scrapeInterval") private String scrapeInterval; + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scrapeProtocols = new ArrayList<>(); @JsonProperty("scrapeTimeout") private String scrapeTimeout; @JsonProperty("secrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List secrets = new ArrayList<>(); @JsonProperty("securityContext") - private PodSecurityContext securityContext; + private PrometheusSpecSecurityContext securityContext; @JsonProperty("serviceAccountName") private String serviceAccountName; @JsonProperty("serviceMonitorNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorNamespaceSelector; + private PrometheusSpecServiceMonitorNamespaceSelector serviceMonitorNamespaceSelector; @JsonProperty("serviceMonitorSelector") - private io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorSelector; + private PrometheusSpecServiceMonitorSelector serviceMonitorSelector; @JsonProperty("sha") private String sha; @JsonProperty("shards") private Integer shards; @JsonProperty("storage") - private StorageSpec storage; + private PrometheusSpecStorage storage; @JsonProperty("tag") private String tag; @JsonProperty("targetLimit") private Long targetLimit; @JsonProperty("thanos") - private ThanosSpec thanos; + private PrometheusSpecThanos thanos; @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List topologySpreadConstraints = new ArrayList<>(); + private List topologySpreadConstraints = new ArrayList<>(); @JsonProperty("tracingConfig") - private PrometheusTracingConfig tracingConfig; + private PrometheusSpecTracingConfig tracingConfig; @JsonProperty("tsdb") - private TSDBSpec tsdb; + private PrometheusSpecTsdb tsdb; @JsonProperty("version") private String version; @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("walCompression") private Boolean walCompression; @JsonProperty("web") - private PrometheusWebSpec web; + private PrometheusSpecWeb web; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -377,7 +392,7 @@ public class PrometheusSpec implements Editable , Kuberne public PrometheusSpec() { } - public PrometheusSpec(SecretKeySelector additionalAlertManagerConfigs, SecretKeySelector additionalAlertRelabelConfigs, List additionalArgs, SecretKeySelector additionalScrapeConfigs, Affinity affinity, AlertingSpec alerting, Boolean allowOverlappingBlocks, APIServerConfig apiserverConfig, ArbitraryFSAccessThroughSMsConfig arbitraryFSAccessThroughSMs, String baseImage, String bodySizeLimit, List configMaps, List containers, Boolean disableCompaction, Boolean enableAdminAPI, List enableFeatures, Boolean enableRemoteWriteReceiver, String enforcedBodySizeLimit, Long enforcedKeepDroppedTargets, Long enforcedLabelLimit, Long enforcedLabelNameLengthLimit, Long enforcedLabelValueLengthLimit, String enforcedNamespaceLabel, Long enforcedSampleLimit, Long enforcedTargetLimit, String evaluationInterval, List excludedFromEnforcement, Exemplars exemplars, Map externalLabels, String externalUrl, List hostAliases, Boolean hostNetwork, Boolean ignoreNamespaceSelectors, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, Boolean overrideHonorLabels, Boolean overrideHonorTimestamps, Boolean paused, EmbeddedObjectMetadata podMetadata, io.fabric8.kubernetes.api.model.LabelSelector podMonitorNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector podMonitorSelector, List podTargetLabels, String portName, String priorityClassName, io.fabric8.kubernetes.api.model.LabelSelector probeNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector probeSelector, String prometheusExternalLabelName, List prometheusRulesExcludedFromEnforce, QuerySpec query, String queryLogFile, List remoteRead, List remoteWrite, String replicaExternalLabelName, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String retentionSize, String routePrefix, io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector ruleSelector, Rules rules, Long sampleLimit, io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigSelector, String scrapeInterval, String scrapeTimeout, List secrets, PodSecurityContext securityContext, String serviceAccountName, io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorSelector, String sha, Integer shards, StorageSpec storage, String tag, Long targetLimit, ThanosSpec thanos, List tolerations, List topologySpreadConstraints, PrometheusTracingConfig tracingConfig, TSDBSpec tsdb, String version, List volumeMounts, List volumes, Boolean walCompression, PrometheusWebSpec web) { + public PrometheusSpec(PrometheusSpecAdditionalAlertManagerConfigs additionalAlertManagerConfigs, PrometheusSpecAdditionalAlertRelabelConfigs additionalAlertRelabelConfigs, List additionalArgs, PrometheusSpecAdditionalScrapeConfigs additionalScrapeConfigs, PrometheusSpecAffinity affinity, PrometheusSpecAlerting alerting, Boolean allowOverlappingBlocks, PrometheusSpecApiserverConfig apiserverConfig, PrometheusSpecArbitraryFSAccessThroughSMs arbitraryFSAccessThroughSMs, String baseImage, String bodySizeLimit, List configMaps, List containers, Boolean disableCompaction, Boolean enableAdminAPI, List enableFeatures, Boolean enableRemoteWriteReceiver, String enforcedBodySizeLimit, Long enforcedKeepDroppedTargets, Long enforcedLabelLimit, Long enforcedLabelNameLengthLimit, Long enforcedLabelValueLengthLimit, String enforcedNamespaceLabel, Long enforcedSampleLimit, Long enforcedTargetLimit, String evaluationInterval, List excludedFromEnforcement, PrometheusSpecExemplars exemplars, Map externalLabels, String externalUrl, List hostAliases, Boolean hostNetwork, Boolean ignoreNamespaceSelectors, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, Boolean listenLocal, String logFormat, String logLevel, Integer maximumStartupDurationSeconds, Integer minReadySeconds, Map nodeSelector, Boolean overrideHonorLabels, Boolean overrideHonorTimestamps, Boolean paused, PrometheusSpecPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy, PrometheusSpecPodMetadata podMetadata, PrometheusSpecPodMonitorNamespaceSelector podMonitorNamespaceSelector, PrometheusSpecPodMonitorSelector podMonitorSelector, List podTargetLabels, String portName, String priorityClassName, PrometheusSpecProbeNamespaceSelector probeNamespaceSelector, PrometheusSpecProbeSelector probeSelector, String prometheusExternalLabelName, List prometheusRulesExcludedFromEnforce, PrometheusSpecQuery query, String queryLogFile, String reloadStrategy, List remoteRead, List remoteWrite, String replicaExternalLabelName, Integer replicas, PrometheusSpecResources resources, String retention, String retentionSize, String routePrefix, PrometheusSpecRuleNamespaceSelector ruleNamespaceSelector, PrometheusSpecRuleSelector ruleSelector, PrometheusSpecRules rules, Long sampleLimit, List scrapeClasses, PrometheusSpecScrapeConfigNamespaceSelector scrapeConfigNamespaceSelector, PrometheusSpecScrapeConfigSelector scrapeConfigSelector, String scrapeInterval, List scrapeProtocols, String scrapeTimeout, List secrets, PrometheusSpecSecurityContext securityContext, String serviceAccountName, PrometheusSpecServiceMonitorNamespaceSelector serviceMonitorNamespaceSelector, PrometheusSpecServiceMonitorSelector serviceMonitorSelector, String sha, Integer shards, PrometheusSpecStorage storage, String tag, Long targetLimit, PrometheusSpecThanos thanos, List tolerations, List topologySpreadConstraints, PrometheusSpecTracingConfig tracingConfig, PrometheusSpecTsdb tsdb, String version, List volumeMounts, List volumes, Boolean walCompression, PrometheusSpecWeb web) { super(); this.additionalAlertManagerConfigs = additionalAlertManagerConfigs; this.additionalAlertRelabelConfigs = additionalAlertRelabelConfigs; @@ -423,11 +438,13 @@ public PrometheusSpec(SecretKeySelector additionalAlertManagerConfigs, SecretKey this.listenLocal = listenLocal; this.logFormat = logFormat; this.logLevel = logLevel; + this.maximumStartupDurationSeconds = maximumStartupDurationSeconds; this.minReadySeconds = minReadySeconds; this.nodeSelector = nodeSelector; this.overrideHonorLabels = overrideHonorLabels; this.overrideHonorTimestamps = overrideHonorTimestamps; this.paused = paused; + this.persistentVolumeClaimRetentionPolicy = persistentVolumeClaimRetentionPolicy; this.podMetadata = podMetadata; this.podMonitorNamespaceSelector = podMonitorNamespaceSelector; this.podMonitorSelector = podMonitorSelector; @@ -440,6 +457,7 @@ public PrometheusSpec(SecretKeySelector additionalAlertManagerConfigs, SecretKey this.prometheusRulesExcludedFromEnforce = prometheusRulesExcludedFromEnforce; this.query = query; this.queryLogFile = queryLogFile; + this.reloadStrategy = reloadStrategy; this.remoteRead = remoteRead; this.remoteWrite = remoteWrite; this.replicaExternalLabelName = replicaExternalLabelName; @@ -452,9 +470,11 @@ public PrometheusSpec(SecretKeySelector additionalAlertManagerConfigs, SecretKey this.ruleSelector = ruleSelector; this.rules = rules; this.sampleLimit = sampleLimit; + this.scrapeClasses = scrapeClasses; this.scrapeConfigNamespaceSelector = scrapeConfigNamespaceSelector; this.scrapeConfigSelector = scrapeConfigSelector; this.scrapeInterval = scrapeInterval; + this.scrapeProtocols = scrapeProtocols; this.scrapeTimeout = scrapeTimeout; this.secrets = secrets; this.securityContext = securityContext; @@ -479,63 +499,63 @@ public PrometheusSpec(SecretKeySelector additionalAlertManagerConfigs, SecretKey } @JsonProperty("additionalAlertManagerConfigs") - public SecretKeySelector getAdditionalAlertManagerConfigs() { + public PrometheusSpecAdditionalAlertManagerConfigs getAdditionalAlertManagerConfigs() { return additionalAlertManagerConfigs; } @JsonProperty("additionalAlertManagerConfigs") - public void setAdditionalAlertManagerConfigs(SecretKeySelector additionalAlertManagerConfigs) { + public void setAdditionalAlertManagerConfigs(PrometheusSpecAdditionalAlertManagerConfigs additionalAlertManagerConfigs) { this.additionalAlertManagerConfigs = additionalAlertManagerConfigs; } @JsonProperty("additionalAlertRelabelConfigs") - public SecretKeySelector getAdditionalAlertRelabelConfigs() { + public PrometheusSpecAdditionalAlertRelabelConfigs getAdditionalAlertRelabelConfigs() { return additionalAlertRelabelConfigs; } @JsonProperty("additionalAlertRelabelConfigs") - public void setAdditionalAlertRelabelConfigs(SecretKeySelector additionalAlertRelabelConfigs) { + public void setAdditionalAlertRelabelConfigs(PrometheusSpecAdditionalAlertRelabelConfigs additionalAlertRelabelConfigs) { this.additionalAlertRelabelConfigs = additionalAlertRelabelConfigs; } @JsonProperty("additionalArgs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getAdditionalArgs() { + public List getAdditionalArgs() { return additionalArgs; } @JsonProperty("additionalArgs") - public void setAdditionalArgs(List additionalArgs) { + public void setAdditionalArgs(List additionalArgs) { this.additionalArgs = additionalArgs; } @JsonProperty("additionalScrapeConfigs") - public SecretKeySelector getAdditionalScrapeConfigs() { + public PrometheusSpecAdditionalScrapeConfigs getAdditionalScrapeConfigs() { return additionalScrapeConfigs; } @JsonProperty("additionalScrapeConfigs") - public void setAdditionalScrapeConfigs(SecretKeySelector additionalScrapeConfigs) { + public void setAdditionalScrapeConfigs(PrometheusSpecAdditionalScrapeConfigs additionalScrapeConfigs) { this.additionalScrapeConfigs = additionalScrapeConfigs; } @JsonProperty("affinity") - public Affinity getAffinity() { + public PrometheusSpecAffinity getAffinity() { return affinity; } @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { + public void setAffinity(PrometheusSpecAffinity affinity) { this.affinity = affinity; } @JsonProperty("alerting") - public AlertingSpec getAlerting() { + public PrometheusSpecAlerting getAlerting() { return alerting; } @JsonProperty("alerting") - public void setAlerting(AlertingSpec alerting) { + public void setAlerting(PrometheusSpecAlerting alerting) { this.alerting = alerting; } @@ -550,22 +570,22 @@ public void setAllowOverlappingBlocks(Boolean allowOverlappingBlocks) { } @JsonProperty("apiserverConfig") - public APIServerConfig getApiserverConfig() { + public PrometheusSpecApiserverConfig getApiserverConfig() { return apiserverConfig; } @JsonProperty("apiserverConfig") - public void setApiserverConfig(APIServerConfig apiserverConfig) { + public void setApiserverConfig(PrometheusSpecApiserverConfig apiserverConfig) { this.apiserverConfig = apiserverConfig; } @JsonProperty("arbitraryFSAccessThroughSMs") - public ArbitraryFSAccessThroughSMsConfig getArbitraryFSAccessThroughSMs() { + public PrometheusSpecArbitraryFSAccessThroughSMs getArbitraryFSAccessThroughSMs() { return arbitraryFSAccessThroughSMs; } @JsonProperty("arbitraryFSAccessThroughSMs") - public void setArbitraryFSAccessThroughSMs(ArbitraryFSAccessThroughSMsConfig arbitraryFSAccessThroughSMs) { + public void setArbitraryFSAccessThroughSMs(PrometheusSpecArbitraryFSAccessThroughSMs arbitraryFSAccessThroughSMs) { this.arbitraryFSAccessThroughSMs = arbitraryFSAccessThroughSMs; } @@ -602,12 +622,12 @@ public void setConfigMaps(List configMaps) { @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainers() { + public List getContainers() { return containers; } @JsonProperty("containers") - public void setContainers(List containers) { + public void setContainers(List containers) { this.containers = containers; } @@ -744,22 +764,22 @@ public void setEvaluationInterval(String evaluationInterval) { @JsonProperty("excludedFromEnforcement") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExcludedFromEnforcement() { + public List getExcludedFromEnforcement() { return excludedFromEnforcement; } @JsonProperty("excludedFromEnforcement") - public void setExcludedFromEnforcement(List excludedFromEnforcement) { + public void setExcludedFromEnforcement(List excludedFromEnforcement) { this.excludedFromEnforcement = excludedFromEnforcement; } @JsonProperty("exemplars") - public Exemplars getExemplars() { + public PrometheusSpecExemplars getExemplars() { return exemplars; } @JsonProperty("exemplars") - public void setExemplars(Exemplars exemplars) { + public void setExemplars(PrometheusSpecExemplars exemplars) { this.exemplars = exemplars; } @@ -786,12 +806,12 @@ public void setExternalUrl(String externalUrl) { @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHostAliases() { + public List getHostAliases() { return hostAliases; } @JsonProperty("hostAliases") - public void setHostAliases(List hostAliases) { + public void setHostAliases(List hostAliases) { this.hostAliases = hostAliases; } @@ -837,23 +857,23 @@ public void setImagePullPolicy(String imagePullPolicy) { @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { + public List getImagePullSecrets() { return imagePullSecrets; } @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { + public void setImagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; } @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInitContainers() { + public List getInitContainers() { return initContainers; } @JsonProperty("initContainers") - public void setInitContainers(List initContainers) { + public void setInitContainers(List initContainers) { this.initContainers = initContainers; } @@ -927,6 +947,16 @@ public void setLogLevel(String logLevel) { this.logLevel = logLevel; } + @JsonProperty("maximumStartupDurationSeconds") + public Integer getMaximumStartupDurationSeconds() { + return maximumStartupDurationSeconds; + } + + @JsonProperty("maximumStartupDurationSeconds") + public void setMaximumStartupDurationSeconds(Integer maximumStartupDurationSeconds) { + this.maximumStartupDurationSeconds = maximumStartupDurationSeconds; + } + @JsonProperty("minReadySeconds") public Integer getMinReadySeconds() { return minReadySeconds; @@ -978,33 +1008,43 @@ public void setPaused(Boolean paused) { this.paused = paused; } + @JsonProperty("persistentVolumeClaimRetentionPolicy") + public PrometheusSpecPersistentVolumeClaimRetentionPolicy getPersistentVolumeClaimRetentionPolicy() { + return persistentVolumeClaimRetentionPolicy; + } + + @JsonProperty("persistentVolumeClaimRetentionPolicy") + public void setPersistentVolumeClaimRetentionPolicy(PrometheusSpecPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy) { + this.persistentVolumeClaimRetentionPolicy = persistentVolumeClaimRetentionPolicy; + } + @JsonProperty("podMetadata") - public EmbeddedObjectMetadata getPodMetadata() { + public PrometheusSpecPodMetadata getPodMetadata() { return podMetadata; } @JsonProperty("podMetadata") - public void setPodMetadata(EmbeddedObjectMetadata podMetadata) { + public void setPodMetadata(PrometheusSpecPodMetadata podMetadata) { this.podMetadata = podMetadata; } @JsonProperty("podMonitorNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getPodMonitorNamespaceSelector() { + public PrometheusSpecPodMonitorNamespaceSelector getPodMonitorNamespaceSelector() { return podMonitorNamespaceSelector; } @JsonProperty("podMonitorNamespaceSelector") - public void setPodMonitorNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector podMonitorNamespaceSelector) { + public void setPodMonitorNamespaceSelector(PrometheusSpecPodMonitorNamespaceSelector podMonitorNamespaceSelector) { this.podMonitorNamespaceSelector = podMonitorNamespaceSelector; } @JsonProperty("podMonitorSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getPodMonitorSelector() { + public PrometheusSpecPodMonitorSelector getPodMonitorSelector() { return podMonitorSelector; } @JsonProperty("podMonitorSelector") - public void setPodMonitorSelector(io.fabric8.kubernetes.api.model.LabelSelector podMonitorSelector) { + public void setPodMonitorSelector(PrometheusSpecPodMonitorSelector podMonitorSelector) { this.podMonitorSelector = podMonitorSelector; } @@ -1040,22 +1080,22 @@ public void setPriorityClassName(String priorityClassName) { } @JsonProperty("probeNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getProbeNamespaceSelector() { + public PrometheusSpecProbeNamespaceSelector getProbeNamespaceSelector() { return probeNamespaceSelector; } @JsonProperty("probeNamespaceSelector") - public void setProbeNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector probeNamespaceSelector) { + public void setProbeNamespaceSelector(PrometheusSpecProbeNamespaceSelector probeNamespaceSelector) { this.probeNamespaceSelector = probeNamespaceSelector; } @JsonProperty("probeSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getProbeSelector() { + public PrometheusSpecProbeSelector getProbeSelector() { return probeSelector; } @JsonProperty("probeSelector") - public void setProbeSelector(io.fabric8.kubernetes.api.model.LabelSelector probeSelector) { + public void setProbeSelector(PrometheusSpecProbeSelector probeSelector) { this.probeSelector = probeSelector; } @@ -1071,22 +1111,22 @@ public void setPrometheusExternalLabelName(String prometheusExternalLabelName) { @JsonProperty("prometheusRulesExcludedFromEnforce") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPrometheusRulesExcludedFromEnforce() { + public List getPrometheusRulesExcludedFromEnforce() { return prometheusRulesExcludedFromEnforce; } @JsonProperty("prometheusRulesExcludedFromEnforce") - public void setPrometheusRulesExcludedFromEnforce(List prometheusRulesExcludedFromEnforce) { + public void setPrometheusRulesExcludedFromEnforce(List prometheusRulesExcludedFromEnforce) { this.prometheusRulesExcludedFromEnforce = prometheusRulesExcludedFromEnforce; } @JsonProperty("query") - public QuerySpec getQuery() { + public PrometheusSpecQuery getQuery() { return query; } @JsonProperty("query") - public void setQuery(QuerySpec query) { + public void setQuery(PrometheusSpecQuery query) { this.query = query; } @@ -1100,25 +1140,35 @@ public void setQueryLogFile(String queryLogFile) { this.queryLogFile = queryLogFile; } + @JsonProperty("reloadStrategy") + public String getReloadStrategy() { + return reloadStrategy; + } + + @JsonProperty("reloadStrategy") + public void setReloadStrategy(String reloadStrategy) { + this.reloadStrategy = reloadStrategy; + } + @JsonProperty("remoteRead") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRemoteRead() { + public List getRemoteRead() { return remoteRead; } @JsonProperty("remoteRead") - public void setRemoteRead(List remoteRead) { + public void setRemoteRead(List remoteRead) { this.remoteRead = remoteRead; } @JsonProperty("remoteWrite") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRemoteWrite() { + public List getRemoteWrite() { return remoteWrite; } @JsonProperty("remoteWrite") - public void setRemoteWrite(List remoteWrite) { + public void setRemoteWrite(List remoteWrite) { this.remoteWrite = remoteWrite; } @@ -1143,12 +1193,12 @@ public void setReplicas(Integer replicas) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public PrometheusSpecResources getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(PrometheusSpecResources resources) { this.resources = resources; } @@ -1183,32 +1233,32 @@ public void setRoutePrefix(String routePrefix) { } @JsonProperty("ruleNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getRuleNamespaceSelector() { + public PrometheusSpecRuleNamespaceSelector getRuleNamespaceSelector() { return ruleNamespaceSelector; } @JsonProperty("ruleNamespaceSelector") - public void setRuleNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector) { + public void setRuleNamespaceSelector(PrometheusSpecRuleNamespaceSelector ruleNamespaceSelector) { this.ruleNamespaceSelector = ruleNamespaceSelector; } @JsonProperty("ruleSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getRuleSelector() { + public PrometheusSpecRuleSelector getRuleSelector() { return ruleSelector; } @JsonProperty("ruleSelector") - public void setRuleSelector(io.fabric8.kubernetes.api.model.LabelSelector ruleSelector) { + public void setRuleSelector(PrometheusSpecRuleSelector ruleSelector) { this.ruleSelector = ruleSelector; } @JsonProperty("rules") - public Rules getRules() { + public PrometheusSpecRules getRules() { return rules; } @JsonProperty("rules") - public void setRules(Rules rules) { + public void setRules(PrometheusSpecRules rules) { this.rules = rules; } @@ -1222,23 +1272,34 @@ public void setSampleLimit(Long sampleLimit) { this.sampleLimit = sampleLimit; } + @JsonProperty("scrapeClasses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScrapeClasses() { + return scrapeClasses; + } + + @JsonProperty("scrapeClasses") + public void setScrapeClasses(List scrapeClasses) { + this.scrapeClasses = scrapeClasses; + } + @JsonProperty("scrapeConfigNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getScrapeConfigNamespaceSelector() { + public PrometheusSpecScrapeConfigNamespaceSelector getScrapeConfigNamespaceSelector() { return scrapeConfigNamespaceSelector; } @JsonProperty("scrapeConfigNamespaceSelector") - public void setScrapeConfigNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigNamespaceSelector) { + public void setScrapeConfigNamespaceSelector(PrometheusSpecScrapeConfigNamespaceSelector scrapeConfigNamespaceSelector) { this.scrapeConfigNamespaceSelector = scrapeConfigNamespaceSelector; } @JsonProperty("scrapeConfigSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getScrapeConfigSelector() { + public PrometheusSpecScrapeConfigSelector getScrapeConfigSelector() { return scrapeConfigSelector; } @JsonProperty("scrapeConfigSelector") - public void setScrapeConfigSelector(io.fabric8.kubernetes.api.model.LabelSelector scrapeConfigSelector) { + public void setScrapeConfigSelector(PrometheusSpecScrapeConfigSelector scrapeConfigSelector) { this.scrapeConfigSelector = scrapeConfigSelector; } @@ -1252,6 +1313,17 @@ public void setScrapeInterval(String scrapeInterval) { this.scrapeInterval = scrapeInterval; } + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScrapeProtocols() { + return scrapeProtocols; + } + + @JsonProperty("scrapeProtocols") + public void setScrapeProtocols(List scrapeProtocols) { + this.scrapeProtocols = scrapeProtocols; + } + @JsonProperty("scrapeTimeout") public String getScrapeTimeout() { return scrapeTimeout; @@ -1274,12 +1346,12 @@ public void setSecrets(List secrets) { } @JsonProperty("securityContext") - public PodSecurityContext getSecurityContext() { + public PrometheusSpecSecurityContext getSecurityContext() { return securityContext; } @JsonProperty("securityContext") - public void setSecurityContext(PodSecurityContext securityContext) { + public void setSecurityContext(PrometheusSpecSecurityContext securityContext) { this.securityContext = securityContext; } @@ -1294,22 +1366,22 @@ public void setServiceAccountName(String serviceAccountName) { } @JsonProperty("serviceMonitorNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getServiceMonitorNamespaceSelector() { + public PrometheusSpecServiceMonitorNamespaceSelector getServiceMonitorNamespaceSelector() { return serviceMonitorNamespaceSelector; } @JsonProperty("serviceMonitorNamespaceSelector") - public void setServiceMonitorNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorNamespaceSelector) { + public void setServiceMonitorNamespaceSelector(PrometheusSpecServiceMonitorNamespaceSelector serviceMonitorNamespaceSelector) { this.serviceMonitorNamespaceSelector = serviceMonitorNamespaceSelector; } @JsonProperty("serviceMonitorSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getServiceMonitorSelector() { + public PrometheusSpecServiceMonitorSelector getServiceMonitorSelector() { return serviceMonitorSelector; } @JsonProperty("serviceMonitorSelector") - public void setServiceMonitorSelector(io.fabric8.kubernetes.api.model.LabelSelector serviceMonitorSelector) { + public void setServiceMonitorSelector(PrometheusSpecServiceMonitorSelector serviceMonitorSelector) { this.serviceMonitorSelector = serviceMonitorSelector; } @@ -1334,12 +1406,12 @@ public void setShards(Integer shards) { } @JsonProperty("storage") - public StorageSpec getStorage() { + public PrometheusSpecStorage getStorage() { return storage; } @JsonProperty("storage") - public void setStorage(StorageSpec storage) { + public void setStorage(PrometheusSpecStorage storage) { this.storage = storage; } @@ -1364,54 +1436,54 @@ public void setTargetLimit(Long targetLimit) { } @JsonProperty("thanos") - public ThanosSpec getThanos() { + public PrometheusSpecThanos getThanos() { return thanos; } @JsonProperty("thanos") - public void setThanos(ThanosSpec thanos) { + public void setThanos(PrometheusSpecThanos thanos) { this.thanos = thanos; } @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { + public List getTolerations() { return tolerations; } @JsonProperty("tolerations") - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTopologySpreadConstraints() { + public List getTopologySpreadConstraints() { return topologySpreadConstraints; } @JsonProperty("topologySpreadConstraints") - public void setTopologySpreadConstraints(List topologySpreadConstraints) { + public void setTopologySpreadConstraints(List topologySpreadConstraints) { this.topologySpreadConstraints = topologySpreadConstraints; } @JsonProperty("tracingConfig") - public PrometheusTracingConfig getTracingConfig() { + public PrometheusSpecTracingConfig getTracingConfig() { return tracingConfig; } @JsonProperty("tracingConfig") - public void setTracingConfig(PrometheusTracingConfig tracingConfig) { + public void setTracingConfig(PrometheusSpecTracingConfig tracingConfig) { this.tracingConfig = tracingConfig; } @JsonProperty("tsdb") - public TSDBSpec getTsdb() { + public PrometheusSpecTsdb getTsdb() { return tsdb; } @JsonProperty("tsdb") - public void setTsdb(TSDBSpec tsdb) { + public void setTsdb(PrometheusSpecTsdb tsdb) { this.tsdb = tsdb; } @@ -1427,23 +1499,23 @@ public void setVersion(String version) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @@ -1458,12 +1530,12 @@ public void setWalCompression(Boolean walCompression) { } @JsonProperty("web") - public PrometheusWebSpec getWeb() { + public PrometheusSpecWeb getWeb() { return web; } @JsonProperty("web") - public void setWeb(PrometheusWebSpec web) { + public void setWeb(PrometheusSpecWeb web) { this.web = web; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAACredentials.java new file mode 100644 index 00000000000..655ba9a84b6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAAACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAAACredentials() { + } + + public PrometheusSpecAAACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAAACredentialsBuilder edit() { + return new PrometheusSpecAAACredentialsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAAACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAAuthorization.java new file mode 100644 index 00000000000..4474e2a3eca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAAAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private PrometheusSpecAAACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAAAuthorization() { + } + + public PrometheusSpecAAAuthorization(PrometheusSpecAAACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public PrometheusSpecAAACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(PrometheusSpecAAACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecAAAuthorizationBuilder edit() { + return new PrometheusSpecAAAuthorizationBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAAAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuth.java new file mode 100644 index 00000000000..0ebd46bfd3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAABasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private PrometheusSpecAABasicAuthPassword password; + @JsonProperty("username") + private PrometheusSpecAABasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAABasicAuth() { + } + + public PrometheusSpecAABasicAuth(PrometheusSpecAABasicAuthPassword password, PrometheusSpecAABasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public PrometheusSpecAABasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(PrometheusSpecAABasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public PrometheusSpecAABasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(PrometheusSpecAABasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public PrometheusSpecAABasicAuthBuilder edit() { + return new PrometheusSpecAABasicAuthBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAABasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthPassword.java new file mode 100644 index 00000000000..12780e09325 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAABasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAABasicAuthPassword() { + } + + public PrometheusSpecAABasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAABasicAuthPasswordBuilder edit() { + return new PrometheusSpecAABasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAABasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthUsername.java new file mode 100644 index 00000000000..b2cee36f402 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAABasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAABasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAABasicAuthUsername() { + } + + public PrometheusSpecAABasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAABasicAuthUsernameBuilder edit() { + return new PrometheusSpecAABasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAABasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASAccessKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASAccessKey.java new file mode 100644 index 00000000000..253f7c6f031 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASAccessKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAASAccessKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAASAccessKey() { + } + + public PrometheusSpecAASAccessKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAASAccessKeyBuilder edit() { + return new PrometheusSpecAASAccessKeyBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAASAccessKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASSecretKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASSecretKey.java new file mode 100644 index 00000000000..5f2125b5f5f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASSecretKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAASSecretKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAASSecretKey() { + } + + public PrometheusSpecAASSecretKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAASSecretKeyBuilder edit() { + return new PrometheusSpecAASSecretKeyBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAASSecretKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASigv4.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASigv4.java index 096d040d2e8..61d4bb8d990 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Sigv4.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAASigv4.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +55,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Sigv4 implements Editable , KubernetesResource +public class PrometheusSpecAASigv4 implements Editable , KubernetesResource { @JsonProperty("accessKey") - private SecretKeySelector accessKey; + private PrometheusSpecAASAccessKey accessKey; @JsonProperty("profile") private String profile; @JsonProperty("region") @@ -68,7 +67,7 @@ public class Sigv4 implements Editable , KubernetesResource @JsonProperty("roleArn") private String roleArn; @JsonProperty("secretKey") - private SecretKeySelector secretKey; + private PrometheusSpecAASSecretKey secretKey; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -76,10 +75,10 @@ public class Sigv4 implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Sigv4() { + public PrometheusSpecAASigv4() { } - public Sigv4(SecretKeySelector accessKey, String profile, String region, String roleArn, SecretKeySelector secretKey) { + public PrometheusSpecAASigv4(PrometheusSpecAASAccessKey accessKey, String profile, String region, String roleArn, PrometheusSpecAASSecretKey secretKey) { super(); this.accessKey = accessKey; this.profile = profile; @@ -89,12 +88,12 @@ public Sigv4(SecretKeySelector accessKey, String profile, String region, String } @JsonProperty("accessKey") - public SecretKeySelector getAccessKey() { + public PrometheusSpecAASAccessKey getAccessKey() { return accessKey; } @JsonProperty("accessKey") - public void setAccessKey(SecretKeySelector accessKey) { + public void setAccessKey(PrometheusSpecAASAccessKey accessKey) { this.accessKey = accessKey; } @@ -129,22 +128,22 @@ public void setRoleArn(String roleArn) { } @JsonProperty("secretKey") - public SecretKeySelector getSecretKey() { + public PrometheusSpecAASSecretKey getSecretKey() { return secretKey; } @JsonProperty("secretKey") - public void setSecretKey(SecretKeySelector secretKey) { + public void setSecretKey(PrometheusSpecAASSecretKey secretKey) { this.secretKey = secretKey; } @JsonIgnore - public Sigv4Builder edit() { - return new Sigv4Builder(this); + public PrometheusSpecAASigv4Builder edit() { + return new PrometheusSpecAASigv4Builder(this); } @JsonIgnore - public Sigv4Builder toBuilder() { + public PrometheusSpecAASigv4Builder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap.java new file mode 100644 index 00000000000..a69584c78c9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCConfigMap() { + } + + public PrometheusSpecAATCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAATCCConfigMapBuilder edit() { + return new PrometheusSpecAATCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap_1.java new file mode 100644 index 00000000000..e31b04f7d65 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCConfigMap_1() { + } + + public PrometheusSpecAATCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAATCCConfigMap_1Builder edit() { + return new PrometheusSpecAATCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret.java new file mode 100644 index 00000000000..bf49fd9d1ea --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCSecret() { + } + + public PrometheusSpecAATCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAATCCSecretBuilder edit() { + return new PrometheusSpecAATCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret_1.java new file mode 100644 index 00000000000..ca1fe8027d1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCSecret_1() { + } + + public PrometheusSpecAATCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAATCCSecret_1Builder edit() { + return new PrometheusSpecAATCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCa.java new file mode 100644 index 00000000000..b3c2fe745a4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecAATCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecAATCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCa() { + } + + public PrometheusSpecAATCCa(PrometheusSpecAATCCConfigMap configMap, PrometheusSpecAATCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecAATCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecAATCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecAATCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecAATCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecAATCCaBuilder edit() { + return new PrometheusSpecAATCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCert.java new file mode 100644 index 00000000000..d6c8d2d9b16 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecAATCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecAATCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCCert() { + } + + public PrometheusSpecAATCCert(PrometheusSpecAATCCConfigMap_1 configMap, PrometheusSpecAATCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecAATCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecAATCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecAATCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecAATCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecAATCCertBuilder edit() { + return new PrometheusSpecAATCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAATCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCKeySecret.java new file mode 100644 index 00000000000..cc38ff47328 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAATCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAATCKeySecret() { + } + + public PrometheusSpecAATCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAATCKeySecretBuilder edit() { + return new PrometheusSpecAATCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAATCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATlsConfig.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATlsConfig.java index ecfb8bc18e2..963c58ac8dd 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAATlsConfig.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -59,15 +58,15 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TLSConfig implements Editable , KubernetesResource +public class PrometheusSpecAATlsConfig implements Editable , KubernetesResource { @JsonProperty("ca") - private SecretOrConfigMap ca; + private PrometheusSpecAATCCa ca; @JsonProperty("caFile") private String caFile; @JsonProperty("cert") - private SecretOrConfigMap cert; + private PrometheusSpecAATCCert cert; @JsonProperty("certFile") private String certFile; @JsonProperty("insecureSkipVerify") @@ -75,7 +74,7 @@ public class TLSConfig implements Editable , KubernetesResourc @JsonProperty("keyFile") private String keyFile; @JsonProperty("keySecret") - private SecretKeySelector keySecret; + private PrometheusSpecAATCKeySecret keySecret; @JsonProperty("serverName") private String serverName; @JsonIgnore @@ -85,10 +84,10 @@ public class TLSConfig implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public TLSConfig() { + public PrometheusSpecAATlsConfig() { } - public TLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, String certFile, Boolean insecureSkipVerify, String keyFile, SecretKeySelector keySecret, String serverName) { + public PrometheusSpecAATlsConfig(PrometheusSpecAATCCa ca, String caFile, PrometheusSpecAATCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecAATCKeySecret keySecret, String serverName) { super(); this.ca = ca; this.caFile = caFile; @@ -101,12 +100,12 @@ public TLSConfig(SecretOrConfigMap ca, String caFile, SecretOrConfigMap cert, St } @JsonProperty("ca") - public SecretOrConfigMap getCa() { + public PrometheusSpecAATCCa getCa() { return ca; } @JsonProperty("ca") - public void setCa(SecretOrConfigMap ca) { + public void setCa(PrometheusSpecAATCCa ca) { this.ca = ca; } @@ -121,12 +120,12 @@ public void setCaFile(String caFile) { } @JsonProperty("cert") - public SecretOrConfigMap getCert() { + public PrometheusSpecAATCCert getCert() { return cert; } @JsonProperty("cert") - public void setCert(SecretOrConfigMap cert) { + public void setCert(PrometheusSpecAATCCert cert) { this.cert = cert; } @@ -161,12 +160,12 @@ public void setKeyFile(String keyFile) { } @JsonProperty("keySecret") - public SecretKeySelector getKeySecret() { + public PrometheusSpecAATCKeySecret getKeySecret() { return keySecret; } @JsonProperty("keySecret") - public void setKeySecret(SecretKeySelector keySecret) { + public void setKeySecret(PrometheusSpecAATCKeySecret keySecret) { this.keySecret = keySecret; } @@ -181,12 +180,12 @@ public void setServerName(String serverName) { } @JsonIgnore - public TLSConfigBuilder edit() { - return new TLSConfigBuilder(this); + public PrometheusSpecAATlsConfigBuilder edit() { + return new PrometheusSpecAATlsConfigBuilder(this); } @JsonIgnore - public TLSConfigBuilder toBuilder() { + public PrometheusSpecAATlsConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAlertmanagers.java similarity index 76% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAlertmanagers.java index 72f2f099632..7fab256f724 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertmanagerEndpoints.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAAlertmanagers.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -40,6 +41,7 @@ "pathPrefix", "port", "scheme", + "sigv4", "timeout", "tlsConfig" }) @@ -55,21 +57,21 @@ @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), - @BuildableReference(io.fabric8.kubernetes.api.model.IntOrString.class), + @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertmanagerEndpoints implements Editable , KubernetesResource +public class PrometheusSpecAAlertmanagers implements Editable , KubernetesResource { @JsonProperty("apiVersion") private String apiVersion; @JsonProperty("authorization") - private SafeAuthorization authorization; + private PrometheusSpecAAAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private PrometheusSpecAABasicAuth basicAuth; @JsonProperty("bearerTokenFile") private String bearerTokenFile; @JsonProperty("enableHttp2") @@ -81,13 +83,16 @@ public class AlertmanagerEndpoints implements Editable additionalProperties = new LinkedHashMap(); @@ -95,10 +100,10 @@ public class AlertmanagerEndpoints implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACACredentials() { + } + + public PrometheusSpecACACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACACredentialsBuilder edit() { + return new PrometheusSpecACACredentialsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACAuthorization.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACAuthorization.java index a02cc72eac9..d6c705d58ab 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Authorization.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACAuthorization.java @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +53,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Authorization implements Editable , KubernetesResource +public class PrometheusSpecACAuthorization implements Editable , KubernetesResource { @JsonProperty("credentials") - private SecretKeySelector credentials; + private PrometheusSpecACACredentials credentials; @JsonProperty("credentialsFile") private String credentialsFile; @JsonProperty("type") @@ -70,10 +69,10 @@ public class Authorization implements Editable , Kubernete * No args constructor for use in serialization * */ - public Authorization() { + public PrometheusSpecACAuthorization() { } - public Authorization(SecretKeySelector credentials, String credentialsFile, String type) { + public PrometheusSpecACAuthorization(PrometheusSpecACACredentials credentials, String credentialsFile, String type) { super(); this.credentials = credentials; this.credentialsFile = credentialsFile; @@ -81,12 +80,12 @@ public Authorization(SecretKeySelector credentials, String credentialsFile, Stri } @JsonProperty("credentials") - public SecretKeySelector getCredentials() { + public PrometheusSpecACACredentials getCredentials() { return credentials; } @JsonProperty("credentials") - public void setCredentials(SecretKeySelector credentials) { + public void setCredentials(PrometheusSpecACACredentials credentials) { this.credentials = credentials; } @@ -111,12 +110,12 @@ public void setType(String type) { } @JsonIgnore - public AuthorizationBuilder edit() { - return new AuthorizationBuilder(this); + public PrometheusSpecACAuthorizationBuilder edit() { + return new PrometheusSpecACAuthorizationBuilder(this); } @JsonIgnore - public AuthorizationBuilder toBuilder() { + public PrometheusSpecACAuthorizationBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuth.java new file mode 100644 index 00000000000..87a64b715fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private PrometheusSpecACBasicAuthPassword password; + @JsonProperty("username") + private PrometheusSpecACBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACBasicAuth() { + } + + public PrometheusSpecACBasicAuth(PrometheusSpecACBasicAuthPassword password, PrometheusSpecACBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public PrometheusSpecACBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(PrometheusSpecACBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public PrometheusSpecACBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(PrometheusSpecACBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public PrometheusSpecACBasicAuthBuilder edit() { + return new PrometheusSpecACBasicAuthBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthPassword.java new file mode 100644 index 00000000000..b417f2c4858 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACBasicAuthPassword() { + } + + public PrometheusSpecACBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACBasicAuthPasswordBuilder edit() { + return new PrometheusSpecACBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthUsername.java new file mode 100644 index 00000000000..3306cc2a6ce --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACBasicAuthUsername() { + } + + public PrometheusSpecACBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACBasicAuthUsernameBuilder edit() { + return new PrometheusSpecACBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap.java new file mode 100644 index 00000000000..c6580e2d3b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCConfigMap() { + } + + public PrometheusSpecACTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACTCCConfigMapBuilder edit() { + return new PrometheusSpecACTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap_1.java new file mode 100644 index 00000000000..d794f53021a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCConfigMap_1() { + } + + public PrometheusSpecACTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACTCCConfigMap_1Builder edit() { + return new PrometheusSpecACTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret.java new file mode 100644 index 00000000000..4f7ad739957 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCSecret() { + } + + public PrometheusSpecACTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACTCCSecretBuilder edit() { + return new PrometheusSpecACTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret_1.java new file mode 100644 index 00000000000..26ae282b55d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCSecret_1() { + } + + public PrometheusSpecACTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACTCCSecret_1Builder edit() { + return new PrometheusSpecACTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCa.java new file mode 100644 index 00000000000..3cf68ead6cf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecACTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecACTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCa() { + } + + public PrometheusSpecACTCCa(PrometheusSpecACTCCConfigMap configMap, PrometheusSpecACTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecACTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecACTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecACTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecACTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecACTCCaBuilder edit() { + return new PrometheusSpecACTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCert.java new file mode 100644 index 00000000000..3f90ac85882 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecACTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecACTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCCert() { + } + + public PrometheusSpecACTCCert(PrometheusSpecACTCCConfigMap_1 configMap, PrometheusSpecACTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecACTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecACTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecACTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecACTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecACTCCertBuilder edit() { + return new PrometheusSpecACTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCKeySecret.java new file mode 100644 index 00000000000..3c42aa20bc3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTCKeySecret() { + } + + public PrometheusSpecACTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecACTCKeySecretBuilder edit() { + return new PrometheusSpecACTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTlsConfig.java new file mode 100644 index 00000000000..1bbe093d5a3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecACTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecACTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecACTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecACTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecACTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecACTlsConfig() { + } + + public PrometheusSpecACTlsConfig(PrometheusSpecACTCCa ca, String caFile, PrometheusSpecACTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecACTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecACTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecACTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecACTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecACTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecACTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecACTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecACTlsConfigBuilder edit() { + return new PrometheusSpecACTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecACTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchExpressions.java new file mode 100644 index 00000000000..68d98bc7b93 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANAPDSIDEPMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANAPDSIDEPMatchExpressions() { + } + + public PrometheusSpecANAPDSIDEPMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPMatchExpressionsBuilder edit() { + return new PrometheusSpecANAPDSIDEPMatchExpressionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchFields.java new file mode 100644 index 00000000000..62edeb30565 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANAPDSIDEPMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANAPDSIDEPMatchFields() { + } + + public PrometheusSpecANAPDSIDEPMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPMatchFieldsBuilder edit() { + return new PrometheusSpecANAPDSIDEPMatchFieldsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPreference.java new file mode 100644 index 00000000000..1051f599d13 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPDSIDEPreference.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANAPDSIDEPreference implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANAPDSIDEPreference() { + } + + public PrometheusSpecANAPDSIDEPreference(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPreferenceBuilder edit() { + return new PrometheusSpecANAPDSIDEPreferenceBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANAPDSIDEPreferenceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..f285b1ddf77 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preference", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("preference") + private PrometheusSpecANAPDSIDEPreference preference; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecution(PrometheusSpecANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public PrometheusSpecANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(PrometheusSpecANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..9eed4498874 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANARDSIDENSTMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANARDSIDENSTMatchExpressions() { + } + + public PrometheusSpecANARDSIDENSTMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public PrometheusSpecANARDSIDENSTMatchExpressionsBuilder edit() { + return new PrometheusSpecANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANARDSIDENSTMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..bd06279c5bb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENSTMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANARDSIDENSTMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANARDSIDENSTMatchFields() { + } + + public PrometheusSpecANARDSIDENSTMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public PrometheusSpecANARDSIDENSTMatchFieldsBuilder edit() { + return new PrometheusSpecANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANARDSIDENSTMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..be7dc379c65 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARDSIDENodeSelectorTerms.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANARDSIDENodeSelectorTerms implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANARDSIDENodeSelectorTerms() { + } + + public PrometheusSpecANARDSIDENodeSelectorTerms(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public PrometheusSpecANARDSIDENodeSelectorTermsBuilder edit() { + return new PrometheusSpecANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANARDSIDENodeSelectorTermsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..8d58afd5c40 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeSelectorTerms" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANodeAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANodeAffinity.java new file mode 100644 index 00000000000..50694107739 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecANodeAffinity.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecANodeAffinity() { + } + + public PrometheusSpecANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(PrometheusSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public PrometheusSpecANodeAffinityBuilder edit() { + return new PrometheusSpecANodeAffinityBuilder(this); + } + + @JsonIgnore + public PrometheusSpecANodeAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..ea4037f1915 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAAPDSIDEPATLabelSelector() { + } + + public PrometheusSpecAPAAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new PrometheusSpecAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..d445826d183 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAAPDSIDEPATNamespaceSelector() { + } + + public PrometheusSpecAPAAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new PrometheusSpecAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..2bcef96257d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private PrometheusSpecAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private PrometheusSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAAPDSIDEPodAffinityTerm() { + } + + public PrometheusSpecAPAAPDSIDEPodAffinityTerm(PrometheusSpecAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, PrometheusSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public PrometheusSpecAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public PrometheusSpecAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(PrometheusSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPodAffinityTermBuilder edit() { + return new PrometheusSpecAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..e0e37a8148a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private PrometheusSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution(PrometheusSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public PrometheusSpecAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(PrometheusSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..4a8e11490c0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAARDSIDELabelSelector() { + } + + public PrometheusSpecAPAARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAARDSIDELabelSelectorBuilder edit() { + return new PrometheusSpecAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..4227be59f7e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAARDSIDENamespaceSelector() { + } + + public PrometheusSpecAPAARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAARDSIDENamespaceSelectorBuilder edit() { + return new PrometheusSpecAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..36d87e429ad --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private PrometheusSpecAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private PrometheusSpecAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecution(PrometheusSpecAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, PrometheusSpecAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public PrometheusSpecAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public PrometheusSpecAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(PrometheusSpecAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..9a00eaf0631 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAPDSIDEPATLabelSelector() { + } + + public PrometheusSpecAPAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPATLabelSelectorBuilder edit() { + return new PrometheusSpecAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..47f6c7fe89c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAPDSIDEPATNamespaceSelector() { + } + + public PrometheusSpecAPAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new PrometheusSpecAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..1d5eb5ff1e3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private PrometheusSpecAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private PrometheusSpecAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAPDSIDEPodAffinityTerm() { + } + + public PrometheusSpecAPAPDSIDEPodAffinityTerm(PrometheusSpecAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, PrometheusSpecAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public PrometheusSpecAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public PrometheusSpecAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(PrometheusSpecAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPodAffinityTermBuilder edit() { + return new PrometheusSpecAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..5f95aeab6fe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private PrometheusSpecAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecution(PrometheusSpecAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public PrometheusSpecAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(PrometheusSpecAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..1c7f62684a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPARDSIDELabelSelector() { + } + + public PrometheusSpecAPARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPARDSIDELabelSelectorBuilder edit() { + return new PrometheusSpecAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..c936b19144c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPARDSIDENamespaceSelector() { + } + + public PrometheusSpecAPARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecAPARDSIDENamespaceSelectorBuilder edit() { + return new PrometheusSpecAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..e2ffbdbe496 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private PrometheusSpecAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private PrometheusSpecAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecution(PrometheusSpecAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, PrometheusSpecAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public PrometheusSpecAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public PrometheusSpecAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(PrometheusSpecAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAffinity.java new file mode 100644 index 00000000000..c7cf1bae6f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPodAffinity() { + } + + public PrometheusSpecAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public PrometheusSpecAPodAffinityBuilder edit() { + return new PrometheusSpecAPodAffinityBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPodAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAntiAffinity.java new file mode 100644 index 00000000000..204d9de1019 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAPodAntiAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAPodAntiAffinity() { + } + + public PrometheusSpecAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public PrometheusSpecAPodAntiAffinityBuilder edit() { + return new PrometheusSpecAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAPodAntiAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertManagerConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertManagerConfigs.java new file mode 100644 index 00000000000..e5cc4584177 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertManagerConfigs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAdditionalAlertManagerConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAdditionalAlertManagerConfigs() { + } + + public PrometheusSpecAdditionalAlertManagerConfigs(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAdditionalAlertManagerConfigsBuilder edit() { + return new PrometheusSpecAdditionalAlertManagerConfigsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAdditionalAlertManagerConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertRelabelConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertRelabelConfigs.java new file mode 100644 index 00000000000..c90ebbe6320 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalAlertRelabelConfigs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAdditionalAlertRelabelConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAdditionalAlertRelabelConfigs() { + } + + public PrometheusSpecAdditionalAlertRelabelConfigs(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAdditionalAlertRelabelConfigsBuilder edit() { + return new PrometheusSpecAdditionalAlertRelabelConfigsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAdditionalAlertRelabelConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Argument.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalArgs.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Argument.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalArgs.java index e11f6cb5557..735f60c648e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Argument.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalArgs.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Argument implements Editable , KubernetesResource +public class PrometheusSpecAdditionalArgs implements Editable , KubernetesResource { @JsonProperty("name") @@ -66,10 +66,10 @@ public class Argument implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Argument() { + public PrometheusSpecAdditionalArgs() { } - public Argument(String name, String value) { + public PrometheusSpecAdditionalArgs(String name, String value) { super(); this.name = name; this.value = value; @@ -96,12 +96,12 @@ public void setValue(String value) { } @JsonIgnore - public ArgumentBuilder edit() { - return new ArgumentBuilder(this); + public PrometheusSpecAdditionalArgsBuilder edit() { + return new PrometheusSpecAdditionalArgsBuilder(this); } @JsonIgnore - public ArgumentBuilder toBuilder() { + public PrometheusSpecAdditionalArgsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalScrapeConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalScrapeConfigs.java new file mode 100644 index 00000000000..9fdf6ef5cbd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAdditionalScrapeConfigs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAdditionalScrapeConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAdditionalScrapeConfigs() { + } + + public PrometheusSpecAdditionalScrapeConfigs(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecAdditionalScrapeConfigsBuilder edit() { + return new PrometheusSpecAdditionalScrapeConfigsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAdditionalScrapeConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAffinity.java new file mode 100644 index 00000000000..0712ecb682f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAffinity.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private PrometheusSpecANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private PrometheusSpecAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private PrometheusSpecAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecAffinity() { + } + + public PrometheusSpecAffinity(PrometheusSpecANodeAffinity nodeAffinity, PrometheusSpecAPodAffinity podAffinity, PrometheusSpecAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public PrometheusSpecANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(PrometheusSpecANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public PrometheusSpecAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(PrometheusSpecAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public PrometheusSpecAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(PrometheusSpecAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public PrometheusSpecAffinityBuilder edit() { + return new PrometheusSpecAffinityBuilder(this); + } + + @JsonIgnore + public PrometheusSpecAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAlerting.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAlerting.java index 5aa3065ff19..86f0b48d4ee 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/AlertingSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecAlerting.java @@ -53,12 +53,12 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class AlertingSpec implements Editable , KubernetesResource +public class PrometheusSpecAlerting implements Editable , KubernetesResource { @JsonProperty("alertmanagers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List alertmanagers = new ArrayList<>(); + private List alertmanagers = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -66,32 +66,32 @@ public class AlertingSpec implements Editable , KubernetesR * No args constructor for use in serialization * */ - public AlertingSpec() { + public PrometheusSpecAlerting() { } - public AlertingSpec(List alertmanagers) { + public PrometheusSpecAlerting(List alertmanagers) { super(); this.alertmanagers = alertmanagers; } @JsonProperty("alertmanagers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getAlertmanagers() { + public List getAlertmanagers() { return alertmanagers; } @JsonProperty("alertmanagers") - public void setAlertmanagers(List alertmanagers) { + public void setAlertmanagers(List alertmanagers) { this.alertmanagers = alertmanagers; } @JsonIgnore - public AlertingSpecBuilder edit() { - return new AlertingSpecBuilder(this); + public PrometheusSpecAlertingBuilder edit() { + return new PrometheusSpecAlertingBuilder(this); } @JsonIgnore - public AlertingSpecBuilder toBuilder() { + public PrometheusSpecAlertingBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecApiserverConfig.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecApiserverConfig.java index 28c0765028b..5b5d41cace2 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/APIServerConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecApiserverConfig.java @@ -56,13 +56,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class APIServerConfig implements Editable , KubernetesResource +public class PrometheusSpecApiserverConfig implements Editable , KubernetesResource { @JsonProperty("authorization") - private Authorization authorization; + private PrometheusSpecACAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private PrometheusSpecACBasicAuth basicAuth; @JsonProperty("bearerToken") private String bearerToken; @JsonProperty("bearerTokenFile") @@ -70,7 +70,7 @@ public class APIServerConfig implements Editable , Kuber @JsonProperty("host") private String host; @JsonProperty("tlsConfig") - private TLSConfig tlsConfig; + private PrometheusSpecACTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -78,10 +78,10 @@ public class APIServerConfig implements Editable , Kuber * No args constructor for use in serialization * */ - public APIServerConfig() { + public PrometheusSpecApiserverConfig() { } - public APIServerConfig(Authorization authorization, BasicAuth basicAuth, String bearerToken, String bearerTokenFile, String host, TLSConfig tlsConfig) { + public PrometheusSpecApiserverConfig(PrometheusSpecACAuthorization authorization, PrometheusSpecACBasicAuth basicAuth, String bearerToken, String bearerTokenFile, String host, PrometheusSpecACTlsConfig tlsConfig) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -92,22 +92,22 @@ public APIServerConfig(Authorization authorization, BasicAuth basicAuth, String } @JsonProperty("authorization") - public Authorization getAuthorization() { + public PrometheusSpecACAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(Authorization authorization) { + public void setAuthorization(PrometheusSpecACAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public PrometheusSpecACBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(PrometheusSpecACBasicAuth basicAuth) { this.basicAuth = basicAuth; } @@ -142,22 +142,22 @@ public void setHost(String host) { } @JsonProperty("tlsConfig") - public TLSConfig getTlsConfig() { + public PrometheusSpecACTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(TLSConfig tlsConfig) { + public void setTlsConfig(PrometheusSpecACTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public APIServerConfigBuilder edit() { - return new APIServerConfigBuilder(this); + public PrometheusSpecApiserverConfigBuilder edit() { + return new PrometheusSpecApiserverConfigBuilder(this); } @JsonIgnore - public APIServerConfigBuilder toBuilder() { + public PrometheusSpecApiserverConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecArbitraryFSAccessThroughSMs.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecArbitraryFSAccessThroughSMs.java index c6fb81b3111..d880bb5bc71 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ArbitraryFSAccessThroughSMsConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecArbitraryFSAccessThroughSMs.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ArbitraryFSAccessThroughSMsConfig implements Editable , KubernetesResource +public class PrometheusSpecArbitraryFSAccessThroughSMs implements Editable , KubernetesResource { @JsonProperty("deny") @@ -63,10 +63,10 @@ public class ArbitraryFSAccessThroughSMsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEFConfigMapRef() { + } + + public PrometheusSpecCEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecCEFConfigMapRefBuilder edit() { + return new PrometheusSpecCEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEFSecretRef.java new file mode 100644 index 00000000000..30c8a3eaf97 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEFSecretRef() { + } + + public PrometheusSpecCEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecCEFSecretRefBuilder edit() { + return new PrometheusSpecCEFSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..baa4d20db2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEVFConfigMapKeyRef() { + } + + public PrometheusSpecCEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecCEVFConfigMapKeyRefBuilder edit() { + return new PrometheusSpecCEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFFieldRef.java new file mode 100644 index 00000000000..64a3620a0eb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEVFFieldRef() { + } + + public PrometheusSpecCEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public PrometheusSpecCEVFFieldRefBuilder edit() { + return new PrometheusSpecCEVFFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFResourceFieldRef.java new file mode 100644 index 00000000000..5403158924d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEVFResourceFieldRef() { + } + + public PrometheusSpecCEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public PrometheusSpecCEVFResourceFieldRefBuilder edit() { + return new PrometheusSpecCEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFSecretKeyRef.java new file mode 100644 index 00000000000..50beca4b9d8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEVFSecretKeyRef() { + } + + public PrometheusSpecCEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecCEVFSecretKeyRefBuilder edit() { + return new PrometheusSpecCEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEValueFrom.java new file mode 100644 index 00000000000..0deac86bedf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private PrometheusSpecCEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private PrometheusSpecCEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private PrometheusSpecCEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private PrometheusSpecCEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEValueFrom() { + } + + public PrometheusSpecCEValueFrom(PrometheusSpecCEVFConfigMapKeyRef configMapKeyRef, PrometheusSpecCEVFFieldRef fieldRef, PrometheusSpecCEVFResourceFieldRef resourceFieldRef, PrometheusSpecCEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public PrometheusSpecCEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(PrometheusSpecCEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public PrometheusSpecCEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(PrometheusSpecCEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public PrometheusSpecCEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(PrometheusSpecCEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public PrometheusSpecCEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(PrometheusSpecCEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public PrometheusSpecCEValueFromBuilder edit() { + return new PrometheusSpecCEValueFromBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnv.java new file mode 100644 index 00000000000..0d1a4c27b33 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private PrometheusSpecCEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEnv() { + } + + public PrometheusSpecCEnv(String name, String value, PrometheusSpecCEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public PrometheusSpecCEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(PrometheusSpecCEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public PrometheusSpecCEnvBuilder edit() { + return new PrometheusSpecCEnvBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnvFrom.java new file mode 100644 index 00000000000..a8fb050ee74 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private PrometheusSpecCEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private PrometheusSpecCEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCEnvFrom() { + } + + public PrometheusSpecCEnvFrom(PrometheusSpecCEFConfigMapRef configMapRef, String prefix, PrometheusSpecCEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public PrometheusSpecCEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(PrometheusSpecCEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public PrometheusSpecCEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecCEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public PrometheusSpecCEnvFromBuilder edit() { + return new PrometheusSpecCEnvFromBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPExec.java new file mode 100644 index 00000000000..45efd2d2a97 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPExec() { + } + + public PrometheusSpecCLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecCLPExecBuilder edit() { + return new PrometheusSpecCLPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPGrpc.java new file mode 100644 index 00000000000..39589af20cf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPGrpc() { + } + + public PrometheusSpecCLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecCLPGrpcBuilder edit() { + return new PrometheusSpecCLPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPHttpGet.java new file mode 100644 index 00000000000..849f869d3f7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPHttpGet() { + } + + public PrometheusSpecCLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecCLPHttpGetBuilder edit() { + return new PrometheusSpecCLPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec.java new file mode 100644 index 00000000000..2616f572425 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSExec() { + } + + public PrometheusSpecCLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecCLPSExecBuilder edit() { + return new PrometheusSpecCLPSExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec_1.java new file mode 100644 index 00000000000..b6911c30247 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSExec_1() { + } + + public PrometheusSpecCLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecCLPSExec_1Builder edit() { + return new PrometheusSpecCLPSExec_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet.java new file mode 100644 index 00000000000..e337ce2f973 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSHttpGet() { + } + + public PrometheusSpecCLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecCLPSHttpGetBuilder edit() { + return new PrometheusSpecCLPSHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet_1.java new file mode 100644 index 00000000000..b344e09a12c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSHttpGet_1() { + } + + public PrometheusSpecCLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecCLPSHttpGet_1Builder edit() { + return new PrometheusSpecCLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep.java new file mode 100644 index 00000000000..db058129f2a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSSleep() { + } + + public PrometheusSpecCLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public PrometheusSpecCLPSSleepBuilder edit() { + return new PrometheusSpecCLPSSleepBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep_1.java new file mode 100644 index 00000000000..23a75383ddc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSSleep_1() { + } + + public PrometheusSpecCLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public PrometheusSpecCLPSSleep_1Builder edit() { + return new PrometheusSpecCLPSSleep_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket.java new file mode 100644 index 00000000000..3bc0112b0a9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSTcpSocket() { + } + + public PrometheusSpecCLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecCLPSTcpSocketBuilder edit() { + return new PrometheusSpecCLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket_1.java new file mode 100644 index 00000000000..1557e74b004 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPSTcpSocket_1() { + } + + public PrometheusSpecCLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecCLPSTcpSocket_1Builder edit() { + return new PrometheusSpecCLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecCLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPTcpSocket.java new file mode 100644 index 00000000000..c0061b9cb6b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPTcpSocket() { + } + + public PrometheusSpecCLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecCLPTcpSocketBuilder edit() { + return new PrometheusSpecCLPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPostStart.java new file mode 100644 index 00000000000..170653b8911 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecCLPSExec exec; + @JsonProperty("httpGet") + private PrometheusSpecCLPSHttpGet httpGet; + @JsonProperty("sleep") + private PrometheusSpecCLPSSleep sleep; + @JsonProperty("tcpSocket") + private PrometheusSpecCLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPostStart() { + } + + public PrometheusSpecCLPostStart(PrometheusSpecCLPSExec exec, PrometheusSpecCLPSHttpGet httpGet, PrometheusSpecCLPSSleep sleep, PrometheusSpecCLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public PrometheusSpecCLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecCLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public PrometheusSpecCLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecCLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public PrometheusSpecCLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(PrometheusSpecCLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecCLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecCLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public PrometheusSpecCLPostStartBuilder edit() { + return new PrometheusSpecCLPostStartBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPreStop.java new file mode 100644 index 00000000000..d54dc679fae --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecCLPSExec_1 exec; + @JsonProperty("httpGet") + private PrometheusSpecCLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private PrometheusSpecCLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private PrometheusSpecCLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLPreStop() { + } + + public PrometheusSpecCLPreStop(PrometheusSpecCLPSExec_1 exec, PrometheusSpecCLPSHttpGet_1 httpGet, PrometheusSpecCLPSSleep_1 sleep, PrometheusSpecCLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public PrometheusSpecCLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecCLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public PrometheusSpecCLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecCLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public PrometheusSpecCLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(PrometheusSpecCLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecCLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecCLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public PrometheusSpecCLPreStopBuilder edit() { + return new PrometheusSpecCLPreStopBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLifecycle.java new file mode 100644 index 00000000000..b810db0775a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private PrometheusSpecCLPostStart postStart; + @JsonProperty("preStop") + private PrometheusSpecCLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLifecycle() { + } + + public PrometheusSpecCLifecycle(PrometheusSpecCLPostStart postStart, PrometheusSpecCLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public PrometheusSpecCLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(PrometheusSpecCLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public PrometheusSpecCLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(PrometheusSpecCLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public PrometheusSpecCLifecycleBuilder edit() { + return new PrometheusSpecCLifecycleBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLivenessProbe.java new file mode 100644 index 00000000000..e22ce2ba5c3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecCLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecCLPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecCLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecCLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCLivenessProbe() { + } + + public PrometheusSpecCLivenessProbe(PrometheusSpecCLPExec exec, Integer failureThreshold, PrometheusSpecCLPGrpc grpc, PrometheusSpecCLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecCLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecCLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecCLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecCLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecCLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecCLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecCLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecCLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecCLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecCLivenessProbeBuilder edit() { + return new PrometheusSpecCLivenessProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCPorts.java new file mode 100644 index 00000000000..413d046e159 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCPorts() { + } + + public PrometheusSpecCPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public PrometheusSpecCPortsBuilder edit() { + return new PrometheusSpecCPortsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPExec.java new file mode 100644 index 00000000000..2d518a0b823 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCRPExec() { + } + + public PrometheusSpecCRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecCRPExecBuilder edit() { + return new PrometheusSpecCRPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPGrpc.java new file mode 100644 index 00000000000..3ebb227504f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCRPGrpc() { + } + + public PrometheusSpecCRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecCRPGrpcBuilder edit() { + return new PrometheusSpecCRPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPHttpGet.java new file mode 100644 index 00000000000..e8d63665962 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCRPHttpGet() { + } + + public PrometheusSpecCRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecCRPHttpGetBuilder edit() { + return new PrometheusSpecCRPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPTcpSocket.java new file mode 100644 index 00000000000..f43fab58b85 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCRPTcpSocket() { + } + + public PrometheusSpecCRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecCRPTcpSocketBuilder edit() { + return new PrometheusSpecCRPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCReadinessProbe.java new file mode 100644 index 00000000000..820a89a542e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecCRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecCRPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecCRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecCRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCReadinessProbe() { + } + + public PrometheusSpecCReadinessProbe(PrometheusSpecCRPExec exec, Integer failureThreshold, PrometheusSpecCRPGrpc grpc, PrometheusSpecCRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecCRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecCRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecCRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecCRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecCRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecCRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecCRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecCRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecCRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecCReadinessProbeBuilder edit() { + return new PrometheusSpecCReadinessProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCResources.java new file mode 100644 index 00000000000..d3eced3ba8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCResources() { + } + + public PrometheusSpecCResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecCResourcesBuilder edit() { + return new PrometheusSpecCResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCCapabilities.java new file mode 100644 index 00000000000..e7fb0128f53 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSCCapabilities() { + } + + public PrometheusSpecCSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public PrometheusSpecCSCCapabilitiesBuilder edit() { + return new PrometheusSpecCSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeLinuxOptions.java new file mode 100644 index 00000000000..c481498ee9a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSCSeLinuxOptions() { + } + + public PrometheusSpecCSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public PrometheusSpecCSCSeLinuxOptionsBuilder edit() { + return new PrometheusSpecCSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeccompProfile.java new file mode 100644 index 00000000000..585adc67d9a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSCSeccompProfile() { + } + + public PrometheusSpecCSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecCSCSeccompProfileBuilder edit() { + return new PrometheusSpecCSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCWindowsOptions.java new file mode 100644 index 00000000000..84531333f39 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSCWindowsOptions() { + } + + public PrometheusSpecCSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public PrometheusSpecCSCWindowsOptionsBuilder edit() { + return new PrometheusSpecCSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPExec.java new file mode 100644 index 00000000000..b4361ee1887 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSPExec() { + } + + public PrometheusSpecCSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecCSPExecBuilder edit() { + return new PrometheusSpecCSPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPGrpc.java new file mode 100644 index 00000000000..19083a3477f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSPGrpc() { + } + + public PrometheusSpecCSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecCSPGrpcBuilder edit() { + return new PrometheusSpecCSPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPHttpGet.java new file mode 100644 index 00000000000..72645c8de0d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSPHttpGet() { + } + + public PrometheusSpecCSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecCSPHttpGetBuilder edit() { + return new PrometheusSpecCSPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPTcpSocket.java new file mode 100644 index 00000000000..3f93dc93088 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSPTcpSocket() { + } + + public PrometheusSpecCSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecCSPTcpSocketBuilder edit() { + return new PrometheusSpecCSPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSecurityContext.java new file mode 100644 index 00000000000..6128aa2c557 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private PrometheusSpecCSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private PrometheusSpecCSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private PrometheusSpecCSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private PrometheusSpecCSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCSecurityContext() { + } + + public PrometheusSpecCSecurityContext(Boolean allowPrivilegeEscalation, PrometheusSpecCSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, PrometheusSpecCSCSeLinuxOptions seLinuxOptions, PrometheusSpecCSCSeccompProfile seccompProfile, PrometheusSpecCSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public PrometheusSpecCSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(PrometheusSpecCSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public PrometheusSpecCSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(PrometheusSpecCSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public PrometheusSpecCSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(PrometheusSpecCSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public PrometheusSpecCSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(PrometheusSpecCSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public PrometheusSpecCSecurityContextBuilder edit() { + return new PrometheusSpecCSecurityContextBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCStartupProbe.java new file mode 100644 index 00000000000..72221d50e7b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecCSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecCSPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecCSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecCSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCStartupProbe() { + } + + public PrometheusSpecCStartupProbe(PrometheusSpecCSPExec exec, Integer failureThreshold, PrometheusSpecCSPGrpc grpc, PrometheusSpecCSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecCSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecCSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecCSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecCSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecCSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecCSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecCSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecCSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecCSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecCStartupProbeBuilder edit() { + return new PrometheusSpecCStartupProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCVolumeMounts.java new file mode 100644 index 00000000000..ba6260ee2a7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecCVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecCVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecCVolumeMounts() { + } + + public PrometheusSpecCVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public PrometheusSpecCVolumeMountsBuilder edit() { + return new PrometheusSpecCVolumeMountsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecCVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecContainers.java new file mode 100644 index 00000000000..bbb91089057 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private PrometheusSpecCLifecycle lifecycle; + @JsonProperty("livenessProbe") + private PrometheusSpecCLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private PrometheusSpecCReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private PrometheusSpecCResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private PrometheusSpecCSecurityContext securityContext; + @JsonProperty("startupProbe") + private PrometheusSpecCStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecContainers() { + } + + public PrometheusSpecContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, PrometheusSpecCLifecycle lifecycle, PrometheusSpecCLivenessProbe livenessProbe, String name, List ports, PrometheusSpecCReadinessProbe readinessProbe, List resizePolicy, PrometheusSpecCResources resources, String restartPolicy, PrometheusSpecCSecurityContext securityContext, PrometheusSpecCStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public PrometheusSpecCLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(PrometheusSpecCLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public PrometheusSpecCLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(PrometheusSpecCLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public PrometheusSpecCReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(PrometheusSpecCReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public PrometheusSpecCResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(PrometheusSpecCResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public PrometheusSpecCSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(PrometheusSpecCSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public PrometheusSpecCStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(PrometheusSpecCStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public PrometheusSpecContainersBuilder edit() { + return new PrometheusSpecContainersBuilder(this); + } + + @JsonIgnore + public PrometheusSpecContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExcludedFromEnforcement.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExcludedFromEnforcement.java index dc9d3984dcd..c2c63cdc87a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ObjectReference.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExcludedFromEnforcement.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; @@ -48,12 +49,12 @@ @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class), + @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ObjectReference implements Editable , KubernetesResource +public class PrometheusSpecExcludedFromEnforcement implements Editable , KubernetesResource { @JsonProperty("group") @@ -71,10 +72,10 @@ public class ObjectReference implements Editable , Kuber * No args constructor for use in serialization * */ - public ObjectReference() { + public PrometheusSpecExcludedFromEnforcement() { } - public ObjectReference(String group, String name, String namespace, String resource) { + public PrometheusSpecExcludedFromEnforcement(String group, String name, String namespace, String resource) { super(); this.group = group; this.name = name; @@ -123,12 +124,12 @@ public void setResource(String resource) { } @JsonIgnore - public ObjectReferenceBuilder edit() { - return new ObjectReferenceBuilder(this); + public PrometheusSpecExcludedFromEnforcementBuilder edit() { + return new PrometheusSpecExcludedFromEnforcementBuilder(this); } @JsonIgnore - public ObjectReferenceBuilder toBuilder() { + public PrometheusSpecExcludedFromEnforcementBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Exemplars.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExemplars.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Exemplars.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExemplars.java index ff7d40afacf..e6a886b1e7d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Exemplars.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecExemplars.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Exemplars implements Editable , KubernetesResource +public class PrometheusSpecExemplars implements Editable , KubernetesResource { @JsonProperty("maxSize") @@ -63,10 +63,10 @@ public class Exemplars implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public Exemplars() { + public PrometheusSpecExemplars() { } - public Exemplars(Long maxSize) { + public PrometheusSpecExemplars(Long maxSize) { super(); this.maxSize = maxSize; } @@ -82,12 +82,12 @@ public void setMaxSize(Long maxSize) { } @JsonIgnore - public ExemplarsBuilder edit() { - return new ExemplarsBuilder(this); + public PrometheusSpecExemplarsBuilder edit() { + return new PrometheusSpecExemplarsBuilder(this); } @JsonIgnore - public ExemplarsBuilder toBuilder() { + public PrometheusSpecExemplarsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecHostAliases.java similarity index 90% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecHostAliases.java index 358319879ca..618856037ff 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/HostAlias.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecHostAliases.java @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HostAlias implements Editable , KubernetesResource +public class PrometheusSpecHostAliases implements Editable , KubernetesResource { @JsonProperty("hostnames") @@ -69,10 +69,10 @@ public class HostAlias implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public HostAlias() { + public PrometheusSpecHostAliases() { } - public HostAlias(List hostnames, String ip) { + public PrometheusSpecHostAliases(List hostnames, String ip) { super(); this.hostnames = hostnames; this.ip = ip; @@ -100,12 +100,12 @@ public void setIp(String ip) { } @JsonIgnore - public HostAliasBuilder edit() { - return new HostAliasBuilder(this); + public PrometheusSpecHostAliasesBuilder edit() { + return new PrometheusSpecHostAliasesBuilder(this); } @JsonIgnore - public HostAliasBuilder toBuilder() { + public PrometheusSpecHostAliasesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFConfigMapRef.java new file mode 100644 index 00000000000..db879591954 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFConfigMapRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEFConfigMapRef() { + } + + public PrometheusSpecICEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecICEFConfigMapRefBuilder edit() { + return new PrometheusSpecICEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFSecretRef.java new file mode 100644 index 00000000000..eeef7dfb375 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEFSecretRef() { + } + + public PrometheusSpecICEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecICEFSecretRefBuilder edit() { + return new PrometheusSpecICEFSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..a4d1b6e0554 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEVFConfigMapKeyRef() { + } + + public PrometheusSpecICEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecICEVFConfigMapKeyRefBuilder edit() { + return new PrometheusSpecICEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFFieldRef.java new file mode 100644 index 00000000000..40b69e92200 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEVFFieldRef() { + } + + public PrometheusSpecICEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public PrometheusSpecICEVFFieldRefBuilder edit() { + return new PrometheusSpecICEVFFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFResourceFieldRef.java new file mode 100644 index 00000000000..9eebca019a4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEVFResourceFieldRef() { + } + + public PrometheusSpecICEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public PrometheusSpecICEVFResourceFieldRefBuilder edit() { + return new PrometheusSpecICEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFSecretKeyRef.java new file mode 100644 index 00000000000..6daac79abc3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEVFSecretKeyRef() { + } + + public PrometheusSpecICEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecICEVFSecretKeyRefBuilder edit() { + return new PrometheusSpecICEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEValueFrom.java new file mode 100644 index 00000000000..f04cd311774 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private PrometheusSpecICEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private PrometheusSpecICEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private PrometheusSpecICEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private PrometheusSpecICEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEValueFrom() { + } + + public PrometheusSpecICEValueFrom(PrometheusSpecICEVFConfigMapKeyRef configMapKeyRef, PrometheusSpecICEVFFieldRef fieldRef, PrometheusSpecICEVFResourceFieldRef resourceFieldRef, PrometheusSpecICEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public PrometheusSpecICEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(PrometheusSpecICEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public PrometheusSpecICEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(PrometheusSpecICEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public PrometheusSpecICEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(PrometheusSpecICEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public PrometheusSpecICEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(PrometheusSpecICEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public PrometheusSpecICEValueFromBuilder edit() { + return new PrometheusSpecICEValueFromBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnv.java new file mode 100644 index 00000000000..378b836ad3b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private PrometheusSpecICEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEnv() { + } + + public PrometheusSpecICEnv(String name, String value, PrometheusSpecICEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public PrometheusSpecICEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(PrometheusSpecICEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public PrometheusSpecICEnvBuilder edit() { + return new PrometheusSpecICEnvBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnvFrom.java new file mode 100644 index 00000000000..778de7806d2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private PrometheusSpecICEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private PrometheusSpecICEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICEnvFrom() { + } + + public PrometheusSpecICEnvFrom(PrometheusSpecICEFConfigMapRef configMapRef, String prefix, PrometheusSpecICEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public PrometheusSpecICEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(PrometheusSpecICEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public PrometheusSpecICEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecICEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public PrometheusSpecICEnvFromBuilder edit() { + return new PrometheusSpecICEnvFromBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPExec.java new file mode 100644 index 00000000000..a6ae6b01c30 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPExec() { + } + + public PrometheusSpecICLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecICLPExecBuilder edit() { + return new PrometheusSpecICLPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPGrpc.java new file mode 100644 index 00000000000..9452295add7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPGrpc() { + } + + public PrometheusSpecICLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecICLPGrpcBuilder edit() { + return new PrometheusSpecICLPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPHttpGet.java new file mode 100644 index 00000000000..628724fa462 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPHttpGet() { + } + + public PrometheusSpecICLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecICLPHttpGetBuilder edit() { + return new PrometheusSpecICLPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec.java new file mode 100644 index 00000000000..df57c588beb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSExec() { + } + + public PrometheusSpecICLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecICLPSExecBuilder edit() { + return new PrometheusSpecICLPSExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec_1.java new file mode 100644 index 00000000000..106d340fb15 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSExec_1() { + } + + public PrometheusSpecICLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecICLPSExec_1Builder edit() { + return new PrometheusSpecICLPSExec_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet.java new file mode 100644 index 00000000000..c5ea831d8ca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSHttpGet() { + } + + public PrometheusSpecICLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecICLPSHttpGetBuilder edit() { + return new PrometheusSpecICLPSHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet_1.java new file mode 100644 index 00000000000..8acead0d12b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSHttpGet_1() { + } + + public PrometheusSpecICLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecICLPSHttpGet_1Builder edit() { + return new PrometheusSpecICLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep.java new file mode 100644 index 00000000000..e8662ad367a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSSleep() { + } + + public PrometheusSpecICLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public PrometheusSpecICLPSSleepBuilder edit() { + return new PrometheusSpecICLPSSleepBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep_1.java new file mode 100644 index 00000000000..21dce09a0a8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSSleep_1() { + } + + public PrometheusSpecICLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public PrometheusSpecICLPSSleep_1Builder edit() { + return new PrometheusSpecICLPSSleep_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket.java new file mode 100644 index 00000000000..4efd91f9cd1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSTcpSocket() { + } + + public PrometheusSpecICLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecICLPSTcpSocketBuilder edit() { + return new PrometheusSpecICLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket_1.java new file mode 100644 index 00000000000..50aad465c17 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPSTcpSocket_1() { + } + + public PrometheusSpecICLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecICLPSTcpSocket_1Builder edit() { + return new PrometheusSpecICLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecICLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPTcpSocket.java new file mode 100644 index 00000000000..fef5d98587d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPTcpSocket() { + } + + public PrometheusSpecICLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecICLPTcpSocketBuilder edit() { + return new PrometheusSpecICLPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPostStart.java new file mode 100644 index 00000000000..dc50f3ea6ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecICLPSExec exec; + @JsonProperty("httpGet") + private PrometheusSpecICLPSHttpGet httpGet; + @JsonProperty("sleep") + private PrometheusSpecICLPSSleep sleep; + @JsonProperty("tcpSocket") + private PrometheusSpecICLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPostStart() { + } + + public PrometheusSpecICLPostStart(PrometheusSpecICLPSExec exec, PrometheusSpecICLPSHttpGet httpGet, PrometheusSpecICLPSSleep sleep, PrometheusSpecICLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public PrometheusSpecICLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecICLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public PrometheusSpecICLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecICLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public PrometheusSpecICLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(PrometheusSpecICLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecICLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecICLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public PrometheusSpecICLPostStartBuilder edit() { + return new PrometheusSpecICLPostStartBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPreStop.java new file mode 100644 index 00000000000..3c060c257c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecICLPSExec_1 exec; + @JsonProperty("httpGet") + private PrometheusSpecICLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private PrometheusSpecICLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private PrometheusSpecICLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLPreStop() { + } + + public PrometheusSpecICLPreStop(PrometheusSpecICLPSExec_1 exec, PrometheusSpecICLPSHttpGet_1 httpGet, PrometheusSpecICLPSSleep_1 sleep, PrometheusSpecICLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public PrometheusSpecICLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecICLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public PrometheusSpecICLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecICLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public PrometheusSpecICLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(PrometheusSpecICLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecICLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecICLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public PrometheusSpecICLPreStopBuilder edit() { + return new PrometheusSpecICLPreStopBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLifecycle.java new file mode 100644 index 00000000000..6c74bf87e9b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private PrometheusSpecICLPostStart postStart; + @JsonProperty("preStop") + private PrometheusSpecICLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLifecycle() { + } + + public PrometheusSpecICLifecycle(PrometheusSpecICLPostStart postStart, PrometheusSpecICLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public PrometheusSpecICLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(PrometheusSpecICLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public PrometheusSpecICLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(PrometheusSpecICLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public PrometheusSpecICLifecycleBuilder edit() { + return new PrometheusSpecICLifecycleBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLivenessProbe.java new file mode 100644 index 00000000000..9e499e6b421 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecICLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecICLPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecICLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecICLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICLivenessProbe() { + } + + public PrometheusSpecICLivenessProbe(PrometheusSpecICLPExec exec, Integer failureThreshold, PrometheusSpecICLPGrpc grpc, PrometheusSpecICLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecICLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecICLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecICLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecICLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecICLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecICLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecICLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecICLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecICLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecICLivenessProbeBuilder edit() { + return new PrometheusSpecICLivenessProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICPorts.java new file mode 100644 index 00000000000..481cb272402 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICPorts() { + } + + public PrometheusSpecICPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public PrometheusSpecICPortsBuilder edit() { + return new PrometheusSpecICPortsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPExec.java new file mode 100644 index 00000000000..23e6456abd9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICRPExec() { + } + + public PrometheusSpecICRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecICRPExecBuilder edit() { + return new PrometheusSpecICRPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPGrpc.java new file mode 100644 index 00000000000..741dcced421 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICRPGrpc() { + } + + public PrometheusSpecICRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecICRPGrpcBuilder edit() { + return new PrometheusSpecICRPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPHttpGet.java new file mode 100644 index 00000000000..e04af33b614 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICRPHttpGet() { + } + + public PrometheusSpecICRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecICRPHttpGetBuilder edit() { + return new PrometheusSpecICRPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPTcpSocket.java new file mode 100644 index 00000000000..e525b815805 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICRPTcpSocket() { + } + + public PrometheusSpecICRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecICRPTcpSocketBuilder edit() { + return new PrometheusSpecICRPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICReadinessProbe.java new file mode 100644 index 00000000000..3de5234ff74 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecICRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecICRPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecICRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecICRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICReadinessProbe() { + } + + public PrometheusSpecICReadinessProbe(PrometheusSpecICRPExec exec, Integer failureThreshold, PrometheusSpecICRPGrpc grpc, PrometheusSpecICRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecICRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecICRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecICRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecICRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecICRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecICRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecICRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecICRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecICRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecICReadinessProbeBuilder edit() { + return new PrometheusSpecICReadinessProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICResources.java new file mode 100644 index 00000000000..6077b74efe7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICResources() { + } + + public PrometheusSpecICResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecICResourcesBuilder edit() { + return new PrometheusSpecICResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCCapabilities.java new file mode 100644 index 00000000000..1c5ce5fd40c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSCCapabilities() { + } + + public PrometheusSpecICSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public PrometheusSpecICSCCapabilitiesBuilder edit() { + return new PrometheusSpecICSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeLinuxOptions.java new file mode 100644 index 00000000000..8760d2a6a52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSCSeLinuxOptions() { + } + + public PrometheusSpecICSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public PrometheusSpecICSCSeLinuxOptionsBuilder edit() { + return new PrometheusSpecICSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeccompProfile.java new file mode 100644 index 00000000000..48a41d52d00 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSCSeccompProfile() { + } + + public PrometheusSpecICSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecICSCSeccompProfileBuilder edit() { + return new PrometheusSpecICSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCWindowsOptions.java new file mode 100644 index 00000000000..c9f207264ef --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSCWindowsOptions() { + } + + public PrometheusSpecICSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public PrometheusSpecICSCWindowsOptionsBuilder edit() { + return new PrometheusSpecICSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPExec.java new file mode 100644 index 00000000000..064b608d975 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSPExec() { + } + + public PrometheusSpecICSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public PrometheusSpecICSPExecBuilder edit() { + return new PrometheusSpecICSPExecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPGrpc.java new file mode 100644 index 00000000000..722c9c53d5d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSPGrpc() { + } + + public PrometheusSpecICSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public PrometheusSpecICSPGrpcBuilder edit() { + return new PrometheusSpecICSPGrpcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPHttpGet.java new file mode 100644 index 00000000000..a4731fcfc15 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSPHttpGet() { + } + + public PrometheusSpecICSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public PrometheusSpecICSPHttpGetBuilder edit() { + return new PrometheusSpecICSPHttpGetBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPTcpSocket.java new file mode 100644 index 00000000000..699fa8315ff --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSPTcpSocket() { + } + + public PrometheusSpecICSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public PrometheusSpecICSPTcpSocketBuilder edit() { + return new PrometheusSpecICSPTcpSocketBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSecurityContext.java new file mode 100644 index 00000000000..27fbe975e73 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private PrometheusSpecICSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private PrometheusSpecICSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private PrometheusSpecICSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private PrometheusSpecICSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICSecurityContext() { + } + + public PrometheusSpecICSecurityContext(Boolean allowPrivilegeEscalation, PrometheusSpecICSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, PrometheusSpecICSCSeLinuxOptions seLinuxOptions, PrometheusSpecICSCSeccompProfile seccompProfile, PrometheusSpecICSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public PrometheusSpecICSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(PrometheusSpecICSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public PrometheusSpecICSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(PrometheusSpecICSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public PrometheusSpecICSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(PrometheusSpecICSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public PrometheusSpecICSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(PrometheusSpecICSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public PrometheusSpecICSecurityContextBuilder edit() { + return new PrometheusSpecICSecurityContextBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICStartupProbe.java new file mode 100644 index 00000000000..53b0ce4da43 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private PrometheusSpecICSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private PrometheusSpecICSPGrpc grpc; + @JsonProperty("httpGet") + private PrometheusSpecICSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private PrometheusSpecICSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICStartupProbe() { + } + + public PrometheusSpecICStartupProbe(PrometheusSpecICSPExec exec, Integer failureThreshold, PrometheusSpecICSPGrpc grpc, PrometheusSpecICSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, PrometheusSpecICSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public PrometheusSpecICSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(PrometheusSpecICSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public PrometheusSpecICSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(PrometheusSpecICSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public PrometheusSpecICSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(PrometheusSpecICSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public PrometheusSpecICSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(PrometheusSpecICSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public PrometheusSpecICStartupProbeBuilder edit() { + return new PrometheusSpecICStartupProbeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICVolumeMounts.java new file mode 100644 index 00000000000..9cef7a3e94b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecICVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecICVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecICVolumeMounts() { + } + + public PrometheusSpecICVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public PrometheusSpecICVolumeMountsBuilder edit() { + return new PrometheusSpecICVolumeMountsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecICVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecImagePullSecrets.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecImagePullSecrets.java new file mode 100644 index 00000000000..64bf5a7d0df --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecImagePullSecrets.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecImagePullSecrets implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecImagePullSecrets() { + } + + public PrometheusSpecImagePullSecrets(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecImagePullSecretsBuilder edit() { + return new PrometheusSpecImagePullSecretsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecImagePullSecretsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecInitContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecInitContainers.java new file mode 100644 index 00000000000..c551f8539c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecInitContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecInitContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private PrometheusSpecICLifecycle lifecycle; + @JsonProperty("livenessProbe") + private PrometheusSpecICLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private PrometheusSpecICReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private PrometheusSpecICResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private PrometheusSpecICSecurityContext securityContext; + @JsonProperty("startupProbe") + private PrometheusSpecICStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecInitContainers() { + } + + public PrometheusSpecInitContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, PrometheusSpecICLifecycle lifecycle, PrometheusSpecICLivenessProbe livenessProbe, String name, List ports, PrometheusSpecICReadinessProbe readinessProbe, List resizePolicy, PrometheusSpecICResources resources, String restartPolicy, PrometheusSpecICSecurityContext securityContext, PrometheusSpecICStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public PrometheusSpecICLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(PrometheusSpecICLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public PrometheusSpecICLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(PrometheusSpecICLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public PrometheusSpecICReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(PrometheusSpecICReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public PrometheusSpecICResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(PrometheusSpecICResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public PrometheusSpecICSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(PrometheusSpecICSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public PrometheusSpecICStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(PrometheusSpecICStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public PrometheusSpecInitContainersBuilder edit() { + return new PrometheusSpecInitContainersBuilder(this); + } + + @JsonIgnore + public PrometheusSpecInitContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPersistentVolumeClaimRetentionPolicy.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPersistentVolumeClaimRetentionPolicy.java new file mode 100644 index 00000000000..41e8883316f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPersistentVolumeClaimRetentionPolicy.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "whenDeleted", + "whenScaled" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecPersistentVolumeClaimRetentionPolicy implements Editable , KubernetesResource +{ + + @JsonProperty("whenDeleted") + private String whenDeleted; + @JsonProperty("whenScaled") + private String whenScaled; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecPersistentVolumeClaimRetentionPolicy() { + } + + public PrometheusSpecPersistentVolumeClaimRetentionPolicy(String whenDeleted, String whenScaled) { + super(); + this.whenDeleted = whenDeleted; + this.whenScaled = whenScaled; + } + + @JsonProperty("whenDeleted") + public String getWhenDeleted() { + return whenDeleted; + } + + @JsonProperty("whenDeleted") + public void setWhenDeleted(String whenDeleted) { + this.whenDeleted = whenDeleted; + } + + @JsonProperty("whenScaled") + public String getWhenScaled() { + return whenScaled; + } + + @JsonProperty("whenScaled") + public void setWhenScaled(String whenScaled) { + this.whenScaled = whenScaled; + } + + @JsonIgnore + public PrometheusSpecPersistentVolumeClaimRetentionPolicyBuilder edit() { + return new PrometheusSpecPersistentVolumeClaimRetentionPolicyBuilder(this); + } + + @JsonIgnore + public PrometheusSpecPersistentVolumeClaimRetentionPolicyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMetadata.java similarity index 90% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMetadata.java index 8d62351887b..e822d3ae66d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/EmbeddedObjectMetadata.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMetadata.java @@ -53,7 +53,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EmbeddedObjectMetadata implements Editable , KubernetesResource +public class PrometheusSpecPodMetadata implements Editable , KubernetesResource { @JsonProperty("annotations") @@ -71,10 +71,10 @@ public class EmbeddedObjectMetadata implements Editable annotations, Map labels, String name) { + public PrometheusSpecPodMetadata(Map annotations, Map labels, String name) { super(); this.annotations = annotations; this.labels = labels; @@ -114,12 +114,12 @@ public void setName(String name) { } @JsonIgnore - public EmbeddedObjectMetadataBuilder edit() { - return new EmbeddedObjectMetadataBuilder(this); + public PrometheusSpecPodMetadataBuilder edit() { + return new PrometheusSpecPodMetadataBuilder(this); } @JsonIgnore - public EmbeddedObjectMetadataBuilder toBuilder() { + public PrometheusSpecPodMetadataBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorNamespaceSelector.java new file mode 100644 index 00000000000..404a5719332 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecPodMonitorNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecPodMonitorNamespaceSelector() { + } + + public PrometheusSpecPodMonitorNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecPodMonitorNamespaceSelectorBuilder edit() { + return new PrometheusSpecPodMonitorNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecPodMonitorNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorSelector.java new file mode 100644 index 00000000000..b4ccad07f91 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPodMonitorSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecPodMonitorSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecPodMonitorSelector() { + } + + public PrometheusSpecPodMonitorSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecPodMonitorSelectorBuilder edit() { + return new PrometheusSpecPodMonitorSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecPodMonitorSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeNamespaceSelector.java new file mode 100644 index 00000000000..0de2662550f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecProbeNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecProbeNamespaceSelector() { + } + + public PrometheusSpecProbeNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecProbeNamespaceSelectorBuilder edit() { + return new PrometheusSpecProbeNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecProbeNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeSelector.java new file mode 100644 index 00000000000..f53593073f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecProbeSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecProbeSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecProbeSelector() { + } + + public PrometheusSpecProbeSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecProbeSelectorBuilder edit() { + return new PrometheusSpecProbeSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecProbeSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPrometheusRulesExcludedFromEnforce.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPrometheusRulesExcludedFromEnforce.java index 0c3e449ce37..82f8cbef345 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusRuleExcludeConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecPrometheusRulesExcludedFromEnforce.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusRuleExcludeConfig implements Editable , KubernetesResource +public class PrometheusSpecPrometheusRulesExcludedFromEnforce implements Editable , KubernetesResource { @JsonProperty("ruleName") @@ -66,10 +66,10 @@ public class PrometheusRuleExcludeConfig implements Editable , KubernetesResource +public class PrometheusSpecQuery implements Editable , KubernetesResource { @JsonProperty("lookbackDelta") @@ -72,10 +72,10 @@ public class QuerySpec implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public QuerySpec() { + public PrometheusSpecQuery() { } - public QuerySpec(String lookbackDelta, Integer maxConcurrency, Integer maxSamples, String timeout) { + public PrometheusSpecQuery(String lookbackDelta, Integer maxConcurrency, Integer maxSamples, String timeout) { super(); this.lookbackDelta = lookbackDelta; this.maxConcurrency = maxConcurrency; @@ -124,12 +124,12 @@ public void setTimeout(String timeout) { } @JsonIgnore - public QuerySpecBuilder edit() { - return new QuerySpecBuilder(this); + public PrometheusSpecQueryBuilder edit() { + return new PrometheusSpecQueryBuilder(this); } @JsonIgnore - public QuerySpecBuilder toBuilder() { + public PrometheusSpecQueryBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRAlert.java similarity index 91% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRAlert.java index e67e2915838..80f17c8795e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RulesAlert.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRAlert.java @@ -53,7 +53,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RulesAlert implements Editable , KubernetesResource +public class PrometheusSpecRAlert implements Editable , KubernetesResource { @JsonProperty("forGracePeriod") @@ -69,10 +69,10 @@ public class RulesAlert implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public RulesAlert() { + public PrometheusSpecRAlert() { } - public RulesAlert(String forGracePeriod, String forOutageTolerance, String resendDelay) { + public PrometheusSpecRAlert(String forGracePeriod, String forOutageTolerance, String resendDelay) { super(); this.forGracePeriod = forGracePeriod; this.forOutageTolerance = forOutageTolerance; @@ -110,12 +110,12 @@ public void setResendDelay(String resendDelay) { } @JsonIgnore - public RulesAlertBuilder edit() { - return new RulesAlertBuilder(this); + public PrometheusSpecRAlertBuilder edit() { + return new PrometheusSpecRAlertBuilder(this); } @JsonIgnore - public RulesAlertBuilder toBuilder() { + public PrometheusSpecRAlertBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRACredentials.java new file mode 100644 index 00000000000..b9419df9259 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRACredentials() { + } + + public PrometheusSpecRRACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRACredentialsBuilder edit() { + return new PrometheusSpecRRACredentialsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRAuthorization.java new file mode 100644 index 00000000000..62a06acbe03 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRAuthorization.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "credentialsFile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private PrometheusSpecRRACredentials credentials; + @JsonProperty("credentialsFile") + private String credentialsFile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRAuthorization() { + } + + public PrometheusSpecRRAuthorization(PrometheusSpecRRACredentials credentials, String credentialsFile, String type) { + super(); + this.credentials = credentials; + this.credentialsFile = credentialsFile; + this.type = type; + } + + @JsonProperty("credentials") + public PrometheusSpecRRACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(PrometheusSpecRRACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("credentialsFile") + public String getCredentialsFile() { + return credentialsFile; + } + + @JsonProperty("credentialsFile") + public void setCredentialsFile(String credentialsFile) { + this.credentialsFile = credentialsFile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecRRAuthorizationBuilder edit() { + return new PrometheusSpecRRAuthorizationBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuth.java new file mode 100644 index 00000000000..518429e7f3a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private PrometheusSpecRRBasicAuthPassword password; + @JsonProperty("username") + private PrometheusSpecRRBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRBasicAuth() { + } + + public PrometheusSpecRRBasicAuth(PrometheusSpecRRBasicAuthPassword password, PrometheusSpecRRBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public PrometheusSpecRRBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(PrometheusSpecRRBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public PrometheusSpecRRBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(PrometheusSpecRRBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthBuilder edit() { + return new PrometheusSpecRRBasicAuthBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthPassword.java new file mode 100644 index 00000000000..8eaf2d35d31 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRBasicAuthPassword() { + } + + public PrometheusSpecRRBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthPasswordBuilder edit() { + return new PrometheusSpecRRBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthUsername.java new file mode 100644 index 00000000000..221bf7be29d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRBasicAuthUsername() { + } + + public PrometheusSpecRRBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthUsernameBuilder edit() { + return new PrometheusSpecRRBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCIConfigMap.java new file mode 100644 index 00000000000..7c9e2605b1c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRROCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRROCIConfigMap() { + } + + public PrometheusSpecRROCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRROCIConfigMapBuilder edit() { + return new PrometheusSpecRROCIConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRROCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCISecret.java new file mode 100644 index 00000000000..83e9aa5bdd3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRROCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRROCISecret() { + } + + public PrometheusSpecRROCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRROCISecretBuilder edit() { + return new PrometheusSpecRROCISecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRROCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientId.java new file mode 100644 index 00000000000..a5927c206a6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRROClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRROCIConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecRROCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRROClientId() { + } + + public PrometheusSpecRROClientId(PrometheusSpecRROCIConfigMap configMap, PrometheusSpecRROCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRROCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRROCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRROCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRROCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRROClientIdBuilder edit() { + return new PrometheusSpecRROClientIdBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRROClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientSecret.java new file mode 100644 index 00000000000..997e59a90e0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRROClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRROClientSecret() { + } + + public PrometheusSpecRROClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRROClientSecretBuilder edit() { + return new PrometheusSpecRROClientSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRROClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROauth2.java new file mode 100644 index 00000000000..25a430c752e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRROauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRROauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private PrometheusSpecRROClientId clientId; + @JsonProperty("clientSecret") + private PrometheusSpecRROClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRROauth2() { + } + + public PrometheusSpecRROauth2(PrometheusSpecRROClientId clientId, PrometheusSpecRROClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public PrometheusSpecRROClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(PrometheusSpecRROClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public PrometheusSpecRROClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(PrometheusSpecRROClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public PrometheusSpecRROauth2Builder edit() { + return new PrometheusSpecRROauth2Builder(this); + } + + @JsonIgnore + public PrometheusSpecRROauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap.java new file mode 100644 index 00000000000..971f9bf2912 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCConfigMap() { + } + + public PrometheusSpecRRTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRTCCConfigMapBuilder edit() { + return new PrometheusSpecRRTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap_1.java new file mode 100644 index 00000000000..b2cc4126279 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCConfigMap_1() { + } + + public PrometheusSpecRRTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRTCCConfigMap_1Builder edit() { + return new PrometheusSpecRRTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret.java new file mode 100644 index 00000000000..b64f8baa244 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCSecret() { + } + + public PrometheusSpecRRTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRTCCSecretBuilder edit() { + return new PrometheusSpecRRTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret_1.java new file mode 100644 index 00000000000..f2ad034cccc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCSecret_1() { + } + + public PrometheusSpecRRTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRTCCSecret_1Builder edit() { + return new PrometheusSpecRRTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCa.java new file mode 100644 index 00000000000..ca50c49534b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRRTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecRRTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCa() { + } + + public PrometheusSpecRRTCCa(PrometheusSpecRRTCCConfigMap configMap, PrometheusSpecRRTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRRTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRRTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRRTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRRTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRRTCCaBuilder edit() { + return new PrometheusSpecRRTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCert.java new file mode 100644 index 00000000000..e1184f7532d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRRTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecRRTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCCert() { + } + + public PrometheusSpecRRTCCert(PrometheusSpecRRTCCConfigMap_1 configMap, PrometheusSpecRRTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRRTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRRTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRRTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRRTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRRTCCertBuilder edit() { + return new PrometheusSpecRRTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCKeySecret.java new file mode 100644 index 00000000000..a2264f317ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTCKeySecret() { + } + + public PrometheusSpecRRTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRRTCKeySecretBuilder edit() { + return new PrometheusSpecRRTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTlsConfig.java new file mode 100644 index 00000000000..25d241aa111 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRRTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRRTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecRRTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecRRTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecRRTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRRTlsConfig() { + } + + public PrometheusSpecRRTlsConfig(PrometheusSpecRRTCCa ca, String caFile, PrometheusSpecRRTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecRRTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecRRTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecRRTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecRRTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecRRTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecRRTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecRRTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecRRTlsConfigBuilder edit() { + return new PrometheusSpecRRTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRRTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAManagedIdentity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAManagedIdentity.java new file mode 100644 index 00000000000..6418ae887f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAManagedIdentity.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWAAManagedIdentity implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private String clientId; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWAAManagedIdentity() { + } + + public PrometheusSpecRWAAManagedIdentity(String clientId) { + super(); + this.clientId = clientId; + } + + @JsonProperty("clientId") + public String getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(String clientId) { + this.clientId = clientId; + } + + @JsonIgnore + public PrometheusSpecRWAAManagedIdentityBuilder edit() { + return new PrometheusSpecRWAAManagedIdentityBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWAAManagedIdentityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOClientSecret.java new file mode 100644 index 00000000000..697fe83708f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWAAOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWAAOClientSecret() { + } + + public PrometheusSpecRWAAOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWAAOClientSecretBuilder edit() { + return new PrometheusSpecRWAAOClientSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWAAOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOauth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOauth.java new file mode 100644 index 00000000000..6de994fdd1c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAAOauth.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "tenantId" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWAAOauth implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private String clientId; + @JsonProperty("clientSecret") + private PrometheusSpecRWAAOClientSecret clientSecret; + @JsonProperty("tenantId") + private String tenantId; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWAAOauth() { + } + + public PrometheusSpecRWAAOauth(String clientId, PrometheusSpecRWAAOClientSecret clientSecret, String tenantId) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.tenantId = tenantId; + } + + @JsonProperty("clientId") + public String getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(String clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public PrometheusSpecRWAAOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(PrometheusSpecRWAAOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("tenantId") + public String getTenantId() { + return tenantId; + } + + @JsonProperty("tenantId") + public void setTenantId(String tenantId) { + this.tenantId = tenantId; + } + + @JsonIgnore + public PrometheusSpecRWAAOauthBuilder edit() { + return new PrometheusSpecRWAAOauthBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWAAOauthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWACredentials.java new file mode 100644 index 00000000000..74e8c2f9467 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWACredentials() { + } + + public PrometheusSpecRWACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWACredentialsBuilder edit() { + return new PrometheusSpecRWACredentialsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAuthorization.java new file mode 100644 index 00000000000..8ef26666219 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAuthorization.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "credentialsFile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private PrometheusSpecRWACredentials credentials; + @JsonProperty("credentialsFile") + private String credentialsFile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWAuthorization() { + } + + public PrometheusSpecRWAuthorization(PrometheusSpecRWACredentials credentials, String credentialsFile, String type) { + super(); + this.credentials = credentials; + this.credentialsFile = credentialsFile; + this.type = type; + } + + @JsonProperty("credentials") + public PrometheusSpecRWACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(PrometheusSpecRWACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("credentialsFile") + public String getCredentialsFile() { + return credentialsFile; + } + + @JsonProperty("credentialsFile") + public void setCredentialsFile(String credentialsFile) { + this.credentialsFile = credentialsFile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecRWAuthorizationBuilder edit() { + return new PrometheusSpecRWAuthorizationBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAzureAd.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAzureAd.java new file mode 100644 index 00000000000..044925f33de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWAzureAd.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "cloud", + "managedIdentity", + "oauth" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWAzureAd implements Editable , KubernetesResource +{ + + @JsonProperty("cloud") + private String cloud; + @JsonProperty("managedIdentity") + private PrometheusSpecRWAAManagedIdentity managedIdentity; + @JsonProperty("oauth") + private PrometheusSpecRWAAOauth oauth; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWAzureAd() { + } + + public PrometheusSpecRWAzureAd(String cloud, PrometheusSpecRWAAManagedIdentity managedIdentity, PrometheusSpecRWAAOauth oauth) { + super(); + this.cloud = cloud; + this.managedIdentity = managedIdentity; + this.oauth = oauth; + } + + @JsonProperty("cloud") + public String getCloud() { + return cloud; + } + + @JsonProperty("cloud") + public void setCloud(String cloud) { + this.cloud = cloud; + } + + @JsonProperty("managedIdentity") + public PrometheusSpecRWAAManagedIdentity getManagedIdentity() { + return managedIdentity; + } + + @JsonProperty("managedIdentity") + public void setManagedIdentity(PrometheusSpecRWAAManagedIdentity managedIdentity) { + this.managedIdentity = managedIdentity; + } + + @JsonProperty("oauth") + public PrometheusSpecRWAAOauth getOauth() { + return oauth; + } + + @JsonProperty("oauth") + public void setOauth(PrometheusSpecRWAAOauth oauth) { + this.oauth = oauth; + } + + @JsonIgnore + public PrometheusSpecRWAzureAdBuilder edit() { + return new PrometheusSpecRWAzureAdBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWAzureAdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuth.java new file mode 100644 index 00000000000..322d6fe7dd7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private PrometheusSpecRWBasicAuthPassword password; + @JsonProperty("username") + private PrometheusSpecRWBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWBasicAuth() { + } + + public PrometheusSpecRWBasicAuth(PrometheusSpecRWBasicAuthPassword password, PrometheusSpecRWBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public PrometheusSpecRWBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(PrometheusSpecRWBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public PrometheusSpecRWBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(PrometheusSpecRWBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthBuilder edit() { + return new PrometheusSpecRWBasicAuthBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthPassword.java new file mode 100644 index 00000000000..71349734f27 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWBasicAuthPassword() { + } + + public PrometheusSpecRWBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthPasswordBuilder edit() { + return new PrometheusSpecRWBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthUsername.java new file mode 100644 index 00000000000..e8a9302a444 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWBasicAuthUsername() { + } + + public PrometheusSpecRWBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthUsernameBuilder edit() { + return new PrometheusSpecRWBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWMetadataConfig.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWMetadataConfig.java index 68b46fc94b0..b5608561038 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/MetadataConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWMetadataConfig.java @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MetadataConfig implements Editable , KubernetesResource +public class PrometheusSpecRWMetadataConfig implements Editable , KubernetesResource { @JsonProperty("send") @@ -66,10 +66,10 @@ public class MetadataConfig implements Editable , Kuberne * No args constructor for use in serialization * */ - public MetadataConfig() { + public PrometheusSpecRWMetadataConfig() { } - public MetadataConfig(Boolean send, String sendInterval) { + public PrometheusSpecRWMetadataConfig(Boolean send, String sendInterval) { super(); this.send = send; this.sendInterval = sendInterval; @@ -96,12 +96,12 @@ public void setSendInterval(String sendInterval) { } @JsonIgnore - public MetadataConfigBuilder edit() { - return new MetadataConfigBuilder(this); + public PrometheusSpecRWMetadataConfigBuilder edit() { + return new PrometheusSpecRWMetadataConfigBuilder(this); } @JsonIgnore - public MetadataConfigBuilder toBuilder() { + public PrometheusSpecRWMetadataConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCIConfigMap.java new file mode 100644 index 00000000000..16c318ff3c4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWOCIConfigMap() { + } + + public PrometheusSpecRWOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWOCIConfigMapBuilder edit() { + return new PrometheusSpecRWOCIConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCISecret.java new file mode 100644 index 00000000000..7c9143cc44c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWOCISecret() { + } + + public PrometheusSpecRWOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWOCISecretBuilder edit() { + return new PrometheusSpecRWOCISecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientId.java new file mode 100644 index 00000000000..6b54b419cf4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRWOCIConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecRWOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWOClientId() { + } + + public PrometheusSpecRWOClientId(PrometheusSpecRWOCIConfigMap configMap, PrometheusSpecRWOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRWOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRWOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRWOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRWOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRWOClientIdBuilder edit() { + return new PrometheusSpecRWOClientIdBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientSecret.java new file mode 100644 index 00000000000..9ad192fb903 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWOClientSecret() { + } + + public PrometheusSpecRWOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWOClientSecretBuilder edit() { + return new PrometheusSpecRWOClientSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOauth2.java new file mode 100644 index 00000000000..d8a78c85143 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private PrometheusSpecRWOClientId clientId; + @JsonProperty("clientSecret") + private PrometheusSpecRWOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWOauth2() { + } + + public PrometheusSpecRWOauth2(PrometheusSpecRWOClientId clientId, PrometheusSpecRWOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public PrometheusSpecRWOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(PrometheusSpecRWOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public PrometheusSpecRWOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(PrometheusSpecRWOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public PrometheusSpecRWOauth2Builder edit() { + return new PrometheusSpecRWOauth2Builder(this); + } + + @JsonIgnore + public PrometheusSpecRWOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWQueueConfig.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWQueueConfig.java index fdb4a548c29..8938aaa7202 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/QueueConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWQueueConfig.java @@ -39,7 +39,8 @@ "maxShards", "minBackoff", "minShards", - "retryOnRateLimit" + "retryOnRateLimit", + "sampleAgeLimit" }) @ToString @EqualsAndHashCode @@ -59,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class QueueConfig implements Editable , KubernetesResource +public class PrometheusSpecRWQueueConfig implements Editable , KubernetesResource { @JsonProperty("batchSendDeadline") @@ -80,6 +81,8 @@ public class QueueConfig implements Editable , KubernetesRes private Integer minShards; @JsonProperty("retryOnRateLimit") private Boolean retryOnRateLimit; + @JsonProperty("sampleAgeLimit") + private String sampleAgeLimit; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -87,10 +90,10 @@ public class QueueConfig implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public QueueConfig() { + public PrometheusSpecRWQueueConfig() { } - public QueueConfig(String batchSendDeadline, Integer capacity, String maxBackoff, Integer maxRetries, Integer maxSamplesPerSend, Integer maxShards, String minBackoff, Integer minShards, Boolean retryOnRateLimit) { + public PrometheusSpecRWQueueConfig(String batchSendDeadline, Integer capacity, String maxBackoff, Integer maxRetries, Integer maxSamplesPerSend, Integer maxShards, String minBackoff, Integer minShards, Boolean retryOnRateLimit, String sampleAgeLimit) { super(); this.batchSendDeadline = batchSendDeadline; this.capacity = capacity; @@ -101,6 +104,7 @@ public QueueConfig(String batchSendDeadline, Integer capacity, String maxBackoff this.minBackoff = minBackoff; this.minShards = minShards; this.retryOnRateLimit = retryOnRateLimit; + this.sampleAgeLimit = sampleAgeLimit; } @JsonProperty("batchSendDeadline") @@ -193,13 +197,23 @@ public void setRetryOnRateLimit(Boolean retryOnRateLimit) { this.retryOnRateLimit = retryOnRateLimit; } + @JsonProperty("sampleAgeLimit") + public String getSampleAgeLimit() { + return sampleAgeLimit; + } + + @JsonProperty("sampleAgeLimit") + public void setSampleAgeLimit(String sampleAgeLimit) { + this.sampleAgeLimit = sampleAgeLimit; + } + @JsonIgnore - public QueueConfigBuilder edit() { - return new QueueConfigBuilder(this); + public PrometheusSpecRWQueueConfigBuilder edit() { + return new PrometheusSpecRWQueueConfigBuilder(this); } @JsonIgnore - public QueueConfigBuilder toBuilder() { + public PrometheusSpecRWQueueConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSAccessKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSAccessKey.java new file mode 100644 index 00000000000..f09cc487a5c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSAccessKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWSAccessKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWSAccessKey() { + } + + public PrometheusSpecRWSAccessKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWSAccessKeyBuilder edit() { + return new PrometheusSpecRWSAccessKeyBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWSAccessKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSSecretKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSSecretKey.java new file mode 100644 index 00000000000..a7d3685f6a8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSSecretKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWSSecretKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWSSecretKey() { + } + + public PrometheusSpecRWSSecretKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWSSecretKeyBuilder edit() { + return new PrometheusSpecRWSSecretKeyBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWSSecretKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSigv4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSigv4.java new file mode 100644 index 00000000000..7099d4a376e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWSigv4.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessKey", + "profile", + "region", + "roleArn", + "secretKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWSigv4 implements Editable , KubernetesResource +{ + + @JsonProperty("accessKey") + private PrometheusSpecRWSAccessKey accessKey; + @JsonProperty("profile") + private String profile; + @JsonProperty("region") + private String region; + @JsonProperty("roleArn") + private String roleArn; + @JsonProperty("secretKey") + private PrometheusSpecRWSSecretKey secretKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWSigv4() { + } + + public PrometheusSpecRWSigv4(PrometheusSpecRWSAccessKey accessKey, String profile, String region, String roleArn, PrometheusSpecRWSSecretKey secretKey) { + super(); + this.accessKey = accessKey; + this.profile = profile; + this.region = region; + this.roleArn = roleArn; + this.secretKey = secretKey; + } + + @JsonProperty("accessKey") + public PrometheusSpecRWSAccessKey getAccessKey() { + return accessKey; + } + + @JsonProperty("accessKey") + public void setAccessKey(PrometheusSpecRWSAccessKey accessKey) { + this.accessKey = accessKey; + } + + @JsonProperty("profile") + public String getProfile() { + return profile; + } + + @JsonProperty("profile") + public void setProfile(String profile) { + this.profile = profile; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("roleArn") + public String getRoleArn() { + return roleArn; + } + + @JsonProperty("roleArn") + public void setRoleArn(String roleArn) { + this.roleArn = roleArn; + } + + @JsonProperty("secretKey") + public PrometheusSpecRWSSecretKey getSecretKey() { + return secretKey; + } + + @JsonProperty("secretKey") + public void setSecretKey(PrometheusSpecRWSSecretKey secretKey) { + this.secretKey = secretKey; + } + + @JsonIgnore + public PrometheusSpecRWSigv4Builder edit() { + return new PrometheusSpecRWSigv4Builder(this); + } + + @JsonIgnore + public PrometheusSpecRWSigv4Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap.java new file mode 100644 index 00000000000..d6a100cbf30 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCConfigMap() { + } + + public PrometheusSpecRWTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWTCCConfigMapBuilder edit() { + return new PrometheusSpecRWTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap_1.java new file mode 100644 index 00000000000..9dbae75730c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCConfigMap_1() { + } + + public PrometheusSpecRWTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWTCCConfigMap_1Builder edit() { + return new PrometheusSpecRWTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret.java new file mode 100644 index 00000000000..2a12f5febf7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCSecret() { + } + + public PrometheusSpecRWTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWTCCSecretBuilder edit() { + return new PrometheusSpecRWTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret_1.java new file mode 100644 index 00000000000..f2445c03ac7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCSecret_1() { + } + + public PrometheusSpecRWTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWTCCSecret_1Builder edit() { + return new PrometheusSpecRWTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCa.java new file mode 100644 index 00000000000..fe4d995f72e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRWTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecRWTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCa() { + } + + public PrometheusSpecRWTCCa(PrometheusSpecRWTCCConfigMap configMap, PrometheusSpecRWTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRWTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRWTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRWTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRWTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRWTCCaBuilder edit() { + return new PrometheusSpecRWTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCert.java new file mode 100644 index 00000000000..8631be6257c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecRWTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecRWTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCCert() { + } + + public PrometheusSpecRWTCCert(PrometheusSpecRWTCCConfigMap_1 configMap, PrometheusSpecRWTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecRWTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecRWTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecRWTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecRWTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecRWTCCertBuilder edit() { + return new PrometheusSpecRWTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCKeySecret.java new file mode 100644 index 00000000000..47e25288f0f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTCKeySecret() { + } + + public PrometheusSpecRWTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecRWTCKeySecretBuilder edit() { + return new PrometheusSpecRWTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTlsConfig.java new file mode 100644 index 00000000000..018006d0f4c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecRWTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecRWTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecRWTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWTlsConfig() { + } + + public PrometheusSpecRWTlsConfig(PrometheusSpecRWTCCa ca, String caFile, PrometheusSpecRWTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecRWTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecRWTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecRWTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecRWTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecRWTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecRWTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecRWTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecRWTlsConfigBuilder edit() { + return new PrometheusSpecRWTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWWriteRelabelConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWWriteRelabelConfigs.java new file mode 100644 index 00000000000..f828f866f22 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRWWriteRelabelConfigs.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRWWriteRelabelConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRWWriteRelabelConfigs() { + } + + public PrometheusSpecRWWriteRelabelConfigs(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public PrometheusSpecRWWriteRelabelConfigsBuilder edit() { + return new PrometheusSpecRWWriteRelabelConfigsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRWWriteRelabelConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteRead.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteRead.java index 142f10d7209..d4bc964adf8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteReadSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteRead.java @@ -65,13 +65,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RemoteReadSpec implements Editable , KubernetesResource +public class PrometheusSpecRemoteRead implements Editable , KubernetesResource { @JsonProperty("authorization") - private Authorization authorization; + private PrometheusSpecRRAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private PrometheusSpecRRBasicAuth basicAuth; @JsonProperty("bearerToken") private String bearerToken; @JsonProperty("bearerTokenFile") @@ -86,7 +86,7 @@ public class RemoteReadSpec implements Editable , Kuberne @JsonProperty("name") private String name; @JsonProperty("oauth2") - private OAuth2 oauth2; + private PrometheusSpecRROauth2 oauth2; @JsonProperty("proxyUrl") private String proxyUrl; @JsonProperty("readRecent") @@ -97,7 +97,7 @@ public class RemoteReadSpec implements Editable , Kuberne @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map requiredMatchers = new LinkedHashMap<>(); @JsonProperty("tlsConfig") - private TLSConfig tlsConfig; + private PrometheusSpecRRTlsConfig tlsConfig; @JsonProperty("url") private String url; @JsonIgnore @@ -107,10 +107,10 @@ public class RemoteReadSpec implements Editable , Kuberne * No args constructor for use in serialization * */ - public RemoteReadSpec() { + public PrometheusSpecRemoteRead() { } - public RemoteReadSpec(Authorization authorization, BasicAuth basicAuth, String bearerToken, String bearerTokenFile, Boolean filterExternalLabels, Boolean followRedirects, Map headers, String name, OAuth2 oauth2, String proxyUrl, Boolean readRecent, String remoteTimeout, Map requiredMatchers, TLSConfig tlsConfig, String url) { + public PrometheusSpecRemoteRead(PrometheusSpecRRAuthorization authorization, PrometheusSpecRRBasicAuth basicAuth, String bearerToken, String bearerTokenFile, Boolean filterExternalLabels, Boolean followRedirects, Map headers, String name, PrometheusSpecRROauth2 oauth2, String proxyUrl, Boolean readRecent, String remoteTimeout, Map requiredMatchers, PrometheusSpecRRTlsConfig tlsConfig, String url) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -130,22 +130,22 @@ public RemoteReadSpec(Authorization authorization, BasicAuth basicAuth, String b } @JsonProperty("authorization") - public Authorization getAuthorization() { + public PrometheusSpecRRAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(Authorization authorization) { + public void setAuthorization(PrometheusSpecRRAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public PrometheusSpecRRBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(PrometheusSpecRRBasicAuth basicAuth) { this.basicAuth = basicAuth; } @@ -211,12 +211,12 @@ public void setName(String name) { } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public PrometheusSpecRROauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(PrometheusSpecRROauth2 oauth2) { this.oauth2 = oauth2; } @@ -262,12 +262,12 @@ public void setRequiredMatchers(Map requiredMatchers) { } @JsonProperty("tlsConfig") - public TLSConfig getTlsConfig() { + public PrometheusSpecRRTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(TLSConfig tlsConfig) { + public void setTlsConfig(PrometheusSpecRRTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @@ -282,12 +282,12 @@ public void setUrl(String url) { } @JsonIgnore - public RemoteReadSpecBuilder edit() { - return new RemoteReadSpecBuilder(this); + public PrometheusSpecRemoteReadBuilder edit() { + return new PrometheusSpecRemoteReadBuilder(this); } @JsonIgnore - public RemoteReadSpecBuilder toBuilder() { + public PrometheusSpecRemoteReadBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteWrite.java similarity index 72% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteWrite.java index c0c1de63f9d..3dbcf41cb68 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/RemoteWriteSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRemoteWrite.java @@ -34,9 +34,11 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "authorization", + "azureAd", "basicAuth", "bearerToken", "bearerTokenFile", + "enableHTTP2", "headers", "metadataConfig", "name", @@ -69,30 +71,34 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class RemoteWriteSpec implements Editable , KubernetesResource +public class PrometheusSpecRemoteWrite implements Editable , KubernetesResource { @JsonProperty("authorization") - private Authorization authorization; + private PrometheusSpecRWAuthorization authorization; + @JsonProperty("azureAd") + private PrometheusSpecRWAzureAd azureAd; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private PrometheusSpecRWBasicAuth basicAuth; @JsonProperty("bearerToken") private String bearerToken; @JsonProperty("bearerTokenFile") private String bearerTokenFile; + @JsonProperty("enableHTTP2") + private Boolean enableHTTP2; @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map headers = new LinkedHashMap<>(); @JsonProperty("metadataConfig") - private MetadataConfig metadataConfig; + private PrometheusSpecRWMetadataConfig metadataConfig; @JsonProperty("name") private String name; @JsonProperty("oauth2") - private OAuth2 oauth2; + private PrometheusSpecRWOauth2 oauth2; @JsonProperty("proxyUrl") private String proxyUrl; @JsonProperty("queueConfig") - private QueueConfig queueConfig; + private PrometheusSpecRWQueueConfig queueConfig; @JsonProperty("remoteTimeout") private String remoteTimeout; @JsonProperty("sendExemplars") @@ -100,14 +106,14 @@ public class RemoteWriteSpec implements Editable , Kuber @JsonProperty("sendNativeHistograms") private Boolean sendNativeHistograms; @JsonProperty("sigv4") - private Sigv4 sigv4; + private PrometheusSpecRWSigv4 sigv4; @JsonProperty("tlsConfig") - private TLSConfig tlsConfig; + private PrometheusSpecRWTlsConfig tlsConfig; @JsonProperty("url") private String url; @JsonProperty("writeRelabelConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List writeRelabelConfigs = new ArrayList<>(); + private List writeRelabelConfigs = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -115,15 +121,17 @@ public class RemoteWriteSpec implements Editable , Kuber * No args constructor for use in serialization * */ - public RemoteWriteSpec() { + public PrometheusSpecRemoteWrite() { } - public RemoteWriteSpec(Authorization authorization, BasicAuth basicAuth, String bearerToken, String bearerTokenFile, Map headers, MetadataConfig metadataConfig, String name, OAuth2 oauth2, String proxyUrl, QueueConfig queueConfig, String remoteTimeout, Boolean sendExemplars, Boolean sendNativeHistograms, Sigv4 sigv4, TLSConfig tlsConfig, String url, List writeRelabelConfigs) { + public PrometheusSpecRemoteWrite(PrometheusSpecRWAuthorization authorization, PrometheusSpecRWAzureAd azureAd, PrometheusSpecRWBasicAuth basicAuth, String bearerToken, String bearerTokenFile, Boolean enableHTTP2, Map headers, PrometheusSpecRWMetadataConfig metadataConfig, String name, PrometheusSpecRWOauth2 oauth2, String proxyUrl, PrometheusSpecRWQueueConfig queueConfig, String remoteTimeout, Boolean sendExemplars, Boolean sendNativeHistograms, PrometheusSpecRWSigv4 sigv4, PrometheusSpecRWTlsConfig tlsConfig, String url, List writeRelabelConfigs) { super(); this.authorization = authorization; + this.azureAd = azureAd; this.basicAuth = basicAuth; this.bearerToken = bearerToken; this.bearerTokenFile = bearerTokenFile; + this.enableHTTP2 = enableHTTP2; this.headers = headers; this.metadataConfig = metadataConfig; this.name = name; @@ -140,22 +148,32 @@ public RemoteWriteSpec(Authorization authorization, BasicAuth basicAuth, String } @JsonProperty("authorization") - public Authorization getAuthorization() { + public PrometheusSpecRWAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(Authorization authorization) { + public void setAuthorization(PrometheusSpecRWAuthorization authorization) { this.authorization = authorization; } + @JsonProperty("azureAd") + public PrometheusSpecRWAzureAd getAzureAd() { + return azureAd; + } + + @JsonProperty("azureAd") + public void setAzureAd(PrometheusSpecRWAzureAd azureAd) { + this.azureAd = azureAd; + } + @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public PrometheusSpecRWBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(PrometheusSpecRWBasicAuth basicAuth) { this.basicAuth = basicAuth; } @@ -179,6 +197,16 @@ public void setBearerTokenFile(String bearerTokenFile) { this.bearerTokenFile = bearerTokenFile; } + @JsonProperty("enableHTTP2") + public Boolean getEnableHTTP2() { + return enableHTTP2; + } + + @JsonProperty("enableHTTP2") + public void setEnableHTTP2(Boolean enableHTTP2) { + this.enableHTTP2 = enableHTTP2; + } + @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getHeaders() { @@ -191,12 +219,12 @@ public void setHeaders(Map headers) { } @JsonProperty("metadataConfig") - public MetadataConfig getMetadataConfig() { + public PrometheusSpecRWMetadataConfig getMetadataConfig() { return metadataConfig; } @JsonProperty("metadataConfig") - public void setMetadataConfig(MetadataConfig metadataConfig) { + public void setMetadataConfig(PrometheusSpecRWMetadataConfig metadataConfig) { this.metadataConfig = metadataConfig; } @@ -211,12 +239,12 @@ public void setName(String name) { } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public PrometheusSpecRWOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(PrometheusSpecRWOauth2 oauth2) { this.oauth2 = oauth2; } @@ -231,12 +259,12 @@ public void setProxyUrl(String proxyUrl) { } @JsonProperty("queueConfig") - public QueueConfig getQueueConfig() { + public PrometheusSpecRWQueueConfig getQueueConfig() { return queueConfig; } @JsonProperty("queueConfig") - public void setQueueConfig(QueueConfig queueConfig) { + public void setQueueConfig(PrometheusSpecRWQueueConfig queueConfig) { this.queueConfig = queueConfig; } @@ -271,22 +299,22 @@ public void setSendNativeHistograms(Boolean sendNativeHistograms) { } @JsonProperty("sigv4") - public Sigv4 getSigv4() { + public PrometheusSpecRWSigv4 getSigv4() { return sigv4; } @JsonProperty("sigv4") - public void setSigv4(Sigv4 sigv4) { + public void setSigv4(PrometheusSpecRWSigv4 sigv4) { this.sigv4 = sigv4; } @JsonProperty("tlsConfig") - public TLSConfig getTlsConfig() { + public PrometheusSpecRWTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(TLSConfig tlsConfig) { + public void setTlsConfig(PrometheusSpecRWTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @@ -302,22 +330,22 @@ public void setUrl(String url) { @JsonProperty("writeRelabelConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getWriteRelabelConfigs() { + public List getWriteRelabelConfigs() { return writeRelabelConfigs; } @JsonProperty("writeRelabelConfigs") - public void setWriteRelabelConfigs(List writeRelabelConfigs) { + public void setWriteRelabelConfigs(List writeRelabelConfigs) { this.writeRelabelConfigs = writeRelabelConfigs; } @JsonIgnore - public RemoteWriteSpecBuilder edit() { - return new RemoteWriteSpecBuilder(this); + public PrometheusSpecRemoteWriteBuilder edit() { + return new PrometheusSpecRemoteWriteBuilder(this); } @JsonIgnore - public RemoteWriteSpecBuilder toBuilder() { + public PrometheusSpecRemoteWriteBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecResources.java new file mode 100644 index 00000000000..6bb8ef416a2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecResources() { + } + + public PrometheusSpecResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecResourcesBuilder edit() { + return new PrometheusSpecResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleNamespaceSelector.java new file mode 100644 index 00000000000..5d40d06c7cf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRuleNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRuleNamespaceSelector() { + } + + public PrometheusSpecRuleNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecRuleNamespaceSelectorBuilder edit() { + return new PrometheusSpecRuleNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRuleNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleSelector.java new file mode 100644 index 00000000000..e63874ee7c9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRuleSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecRuleSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecRuleSelector() { + } + + public PrometheusSpecRuleSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecRuleSelectorBuilder edit() { + return new PrometheusSpecRuleSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecRuleSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRules.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRules.java index 62cafcdc847..635e0cbc458 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Rules.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecRules.java @@ -51,11 +51,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Rules implements Editable , KubernetesResource +public class PrometheusSpecRules implements Editable , KubernetesResource { @JsonProperty("alert") - private RulesAlert alert; + private PrometheusSpecRAlert alert; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -63,31 +63,31 @@ public class Rules implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Rules() { + public PrometheusSpecRules() { } - public Rules(RulesAlert alert) { + public PrometheusSpecRules(PrometheusSpecRAlert alert) { super(); this.alert = alert; } @JsonProperty("alert") - public RulesAlert getAlert() { + public PrometheusSpecRAlert getAlert() { return alert; } @JsonProperty("alert") - public void setAlert(RulesAlert alert) { + public void setAlert(PrometheusSpecRAlert alert) { this.alert = alert; } @JsonIgnore - public RulesBuilder edit() { - return new RulesBuilder(this); + public PrometheusSpecRulesBuilder edit() { + return new PrometheusSpecRulesBuilder(this); } @JsonIgnore - public RulesBuilder toBuilder() { + public PrometheusSpecRulesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCRelabelings.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCRelabelings.java new file mode 100644 index 00000000000..1327d6d5995 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCRelabelings.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCRelabelings implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCRelabelings() { + } + + public PrometheusSpecSCRelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public PrometheusSpecSCRelabelingsBuilder edit() { + return new PrometheusSpecSCRelabelingsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCRelabelingsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeLinuxOptions.java new file mode 100644 index 00000000000..46eff8eef28 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCSeLinuxOptions() { + } + + public PrometheusSpecSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public PrometheusSpecSCSeLinuxOptionsBuilder edit() { + return new PrometheusSpecSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeccompProfile.java new file mode 100644 index 00000000000..571bbea8f51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCSeccompProfile() { + } + + public PrometheusSpecSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecSCSeccompProfileBuilder edit() { + return new PrometheusSpecSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap.java new file mode 100644 index 00000000000..5eae83d53d5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCConfigMap() { + } + + public PrometheusSpecSCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecSCTCCConfigMapBuilder edit() { + return new PrometheusSpecSCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap_1.java new file mode 100644 index 00000000000..e20737a9ff2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCConfigMap_1() { + } + + public PrometheusSpecSCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecSCTCCConfigMap_1Builder edit() { + return new PrometheusSpecSCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret.java new file mode 100644 index 00000000000..99ec18bded6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCSecret() { + } + + public PrometheusSpecSCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecSCTCCSecretBuilder edit() { + return new PrometheusSpecSCTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret_1.java new file mode 100644 index 00000000000..ae235b429c5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCSecret_1() { + } + + public PrometheusSpecSCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecSCTCCSecret_1Builder edit() { + return new PrometheusSpecSCTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCa.java new file mode 100644 index 00000000000..8b3302982f4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecSCTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecSCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCa() { + } + + public PrometheusSpecSCTCCa(PrometheusSpecSCTCCConfigMap configMap, PrometheusSpecSCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecSCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecSCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecSCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecSCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecSCTCCaBuilder edit() { + return new PrometheusSpecSCTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCert.java new file mode 100644 index 00000000000..f9eaed3e0f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecSCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecSCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCCert() { + } + + public PrometheusSpecSCTCCert(PrometheusSpecSCTCCConfigMap_1 configMap, PrometheusSpecSCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecSCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecSCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecSCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecSCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecSCTCCertBuilder edit() { + return new PrometheusSpecSCTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCKeySecret.java new file mode 100644 index 00000000000..cae0cc10db4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTCKeySecret() { + } + + public PrometheusSpecSCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecSCTCKeySecretBuilder edit() { + return new PrometheusSpecSCTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTlsConfig.java new file mode 100644 index 00000000000..282302e3e2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecSCTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecSCTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecSCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCTlsConfig() { + } + + public PrometheusSpecSCTlsConfig(PrometheusSpecSCTCCa ca, String caFile, PrometheusSpecSCTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecSCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecSCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecSCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecSCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecSCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecSCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecSCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecSCTlsConfigBuilder edit() { + return new PrometheusSpecSCTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCWindowsOptions.java new file mode 100644 index 00000000000..528b6d6d4b5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSCWindowsOptions() { + } + + public PrometheusSpecSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public PrometheusSpecSCWindowsOptionsBuilder edit() { + return new PrometheusSpecSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpec.java new file mode 100644 index 00000000000..b50e6052a0e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private PrometheusSpecSEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private PrometheusSpecSEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private PrometheusSpecSEVCTSpecResources resources; + @JsonProperty("selector") + private PrometheusSpecSEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVCTSpec() { + } + + public PrometheusSpecSEVCTSpec(List accessModes, PrometheusSpecSEVCTSpecDataSource dataSource, PrometheusSpecSEVCTSpecDataSourceRef dataSourceRef, PrometheusSpecSEVCTSpecResources resources, PrometheusSpecSEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public PrometheusSpecSEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(PrometheusSpecSEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public PrometheusSpecSEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(PrometheusSpecSEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public PrometheusSpecSEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(PrometheusSpecSEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public PrometheusSpecSEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PrometheusSpecSEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecBuilder edit() { + return new PrometheusSpecSEVCTSpecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSource.java new file mode 100644 index 00000000000..5a8e30e726d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVCTSpecDataSource() { + } + + public PrometheusSpecSEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecDataSourceBuilder edit() { + return new PrometheusSpecSEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..c7db5f5ab4b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVCTSpecDataSourceRef() { + } + + public PrometheusSpecSEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecDataSourceRefBuilder edit() { + return new PrometheusSpecSEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecResources.java new file mode 100644 index 00000000000..52ca7829baa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVCTSpecResources() { + } + + public PrometheusSpecSEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecResourcesBuilder edit() { + return new PrometheusSpecSEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecSelector.java new file mode 100644 index 00000000000..b8bd2c86b51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVCTSpecSelector() { + } + + public PrometheusSpecSEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecSelectorBuilder edit() { + return new PrometheusSpecSEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVolumeClaimTemplate.java new file mode 100644 index 00000000000..7d0ca606c77 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private PrometheusSpecSEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEVolumeClaimTemplate() { + } + + public PrometheusSpecSEVolumeClaimTemplate(Object metadata, PrometheusSpecSEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public PrometheusSpecSEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(PrometheusSpecSEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public PrometheusSpecSEVolumeClaimTemplateBuilder edit() { + return new PrometheusSpecSEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEmptyDir.java new file mode 100644 index 00000000000..892c8b00310 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEmptyDir() { + } + + public PrometheusSpecSEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public PrometheusSpecSEmptyDirBuilder edit() { + return new PrometheusSpecSEmptyDirBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEphemeral.java new file mode 100644 index 00000000000..638d6a9940d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private PrometheusSpecSEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSEphemeral() { + } + + public PrometheusSpecSEphemeral(PrometheusSpecSEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public PrometheusSpecSEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(PrometheusSpecSEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public PrometheusSpecSEphemeralBuilder edit() { + return new PrometheusSpecSEphemeralBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTMetadata.java new file mode 100644 index 00000000000..69d0027812b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTMetadata.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "labels", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labels = new LinkedHashMap<>(); + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTMetadata() { + } + + public PrometheusSpecSVCTMetadata(Map annotations, Map labels, String name) { + super(); + this.annotations = annotations; + this.labels = labels; + this.name = name; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabels() { + return labels; + } + + @JsonProperty("labels") + public void setLabels(Map labels) { + this.labels = labels; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecSVCTMetadataBuilder edit() { + return new PrometheusSpecSVCTMetadataBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpec.java new file mode 100644 index 00000000000..04822d8ba99 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private PrometheusSpecSVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private PrometheusSpecSVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private PrometheusSpecSVCTSpecResources resources; + @JsonProperty("selector") + private PrometheusSpecSVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTSpec() { + } + + public PrometheusSpecSVCTSpec(List accessModes, PrometheusSpecSVCTSpecDataSource dataSource, PrometheusSpecSVCTSpecDataSourceRef dataSourceRef, PrometheusSpecSVCTSpecResources resources, PrometheusSpecSVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public PrometheusSpecSVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(PrometheusSpecSVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public PrometheusSpecSVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(PrometheusSpecSVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public PrometheusSpecSVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(PrometheusSpecSVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public PrometheusSpecSVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PrometheusSpecSVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public PrometheusSpecSVCTSpecBuilder edit() { + return new PrometheusSpecSVCTSpecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSource.java new file mode 100644 index 00000000000..bb2dfcbbc0d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTSpecDataSource() { + } + + public PrometheusSpecSVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecSVCTSpecDataSourceBuilder edit() { + return new PrometheusSpecSVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..d1fa2ffd679 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTSpecDataSourceRef() { + } + + public PrometheusSpecSVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public PrometheusSpecSVCTSpecDataSourceRefBuilder edit() { + return new PrometheusSpecSVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecResources.java new file mode 100644 index 00000000000..766d5c7d2f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTSpecResources() { + } + + public PrometheusSpecSVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecSVCTSpecResourcesBuilder edit() { + return new PrometheusSpecSVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecSelector.java new file mode 100644 index 00000000000..fc4b7cac596 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTSpecSelector() { + } + + public PrometheusSpecSVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecSVCTSpecSelectorBuilder edit() { + return new PrometheusSpecSVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatus.java new file mode 100644 index 00000000000..bb748931e2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatus.java @@ -0,0 +1,222 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "allocatedResourceStatuses", + "allocatedResources", + "capacity", + "conditions", + "currentVolumeAttributesClassName", + "modifyVolumeStatus", + "phase" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTStatus implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResourceStatuses = new LinkedHashMap<>(); + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResources = new LinkedHashMap<>(); + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map capacity = new LinkedHashMap<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("currentVolumeAttributesClassName") + private String currentVolumeAttributesClassName; + @JsonProperty("modifyVolumeStatus") + private PrometheusSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus; + @JsonProperty("phase") + private String phase; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTStatus() { + } + + public PrometheusSpecSVCTStatus(List accessModes, Map allocatedResourceStatuses, Map allocatedResources, Map capacity, List conditions, String currentVolumeAttributesClassName, PrometheusSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus, String phase) { + super(); + this.accessModes = accessModes; + this.allocatedResourceStatuses = allocatedResourceStatuses; + this.allocatedResources = allocatedResources; + this.capacity = capacity; + this.conditions = conditions; + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + this.modifyVolumeStatus = modifyVolumeStatus; + this.phase = phase; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResourceStatuses() { + return allocatedResourceStatuses; + } + + @JsonProperty("allocatedResourceStatuses") + public void setAllocatedResourceStatuses(Map allocatedResourceStatuses) { + this.allocatedResourceStatuses = allocatedResourceStatuses; + } + + @JsonProperty("allocatedResources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResources() { + return allocatedResources; + } + + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setAllocatedResources(Map allocatedResources) { + this.allocatedResources = allocatedResources; + } + + @JsonProperty("capacity") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getCapacity() { + return capacity; + } + + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setCapacity(Map capacity) { + this.capacity = capacity; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("currentVolumeAttributesClassName") + public String getCurrentVolumeAttributesClassName() { + return currentVolumeAttributesClassName; + } + + @JsonProperty("currentVolumeAttributesClassName") + public void setCurrentVolumeAttributesClassName(String currentVolumeAttributesClassName) { + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + } + + @JsonProperty("modifyVolumeStatus") + public PrometheusSpecSVCTStatusModifyVolumeStatus getModifyVolumeStatus() { + return modifyVolumeStatus; + } + + @JsonProperty("modifyVolumeStatus") + public void setModifyVolumeStatus(PrometheusSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus) { + this.modifyVolumeStatus = modifyVolumeStatus; + } + + @JsonProperty("phase") + public String getPhase() { + return phase; + } + + @JsonProperty("phase") + public void setPhase(String phase) { + this.phase = phase; + } + + @JsonIgnore + public PrometheusSpecSVCTStatusBuilder edit() { + return new PrometheusSpecSVCTStatusBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusConditions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusConditions.java new file mode 100644 index 00000000000..edb20b87c89 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "lastProbeTime", + "lastTransitionTime", + "message", + "reason", + "status", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTStatusConditions implements Editable , KubernetesResource +{ + + @JsonProperty("lastProbeTime") + private String lastProbeTime; + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("message") + private String message; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTStatusConditions() { + } + + public PrometheusSpecSVCTStatusConditions(String lastProbeTime, String lastTransitionTime, String message, String reason, String status, String type) { + super(); + this.lastProbeTime = lastProbeTime; + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastProbeTime") + public String getLastProbeTime() { + return lastProbeTime; + } + + @JsonProperty("lastProbeTime") + public void setLastProbeTime(String lastProbeTime) { + this.lastProbeTime = lastProbeTime; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecSVCTStatusConditionsBuilder edit() { + return new PrometheusSpecSVCTStatusConditionsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTStatusConditionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusModifyVolumeStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusModifyVolumeStatus.java new file mode 100644 index 00000000000..aba6aa25510 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVCTStatusModifyVolumeStatus.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "status", + "targetVolumeAttributesClassName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVCTStatusModifyVolumeStatus implements Editable , KubernetesResource +{ + + @JsonProperty("status") + private String status; + @JsonProperty("targetVolumeAttributesClassName") + private String targetVolumeAttributesClassName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVCTStatusModifyVolumeStatus() { + } + + public PrometheusSpecSVCTStatusModifyVolumeStatus(String status, String targetVolumeAttributesClassName) { + super(); + this.status = status; + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("targetVolumeAttributesClassName") + public String getTargetVolumeAttributesClassName() { + return targetVolumeAttributesClassName; + } + + @JsonProperty("targetVolumeAttributesClassName") + public void setTargetVolumeAttributesClassName(String targetVolumeAttributesClassName) { + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonIgnore + public PrometheusSpecSVCTStatusModifyVolumeStatusBuilder edit() { + return new PrometheusSpecSVCTStatusModifyVolumeStatusBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVCTStatusModifyVolumeStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVolumeClaimTemplate.java new file mode 100644 index 00000000000..79b96bb94d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSVolumeClaimTemplate.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("kind") + private String kind; + @JsonProperty("metadata") + private PrometheusSpecSVCTMetadata metadata; + @JsonProperty("spec") + private PrometheusSpecSVCTSpec spec; + @JsonProperty("status") + private PrometheusSpecSVCTStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSVolumeClaimTemplate() { + } + + public PrometheusSpecSVolumeClaimTemplate(String apiVersion, String kind, PrometheusSpecSVCTMetadata metadata, PrometheusSpecSVCTSpec spec, PrometheusSpecSVCTStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public PrometheusSpecSVCTMetadata getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(PrometheusSpecSVCTMetadata metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public PrometheusSpecSVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(PrometheusSpecSVCTSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public PrometheusSpecSVCTStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(PrometheusSpecSVCTStatus status) { + this.status = status; + } + + @JsonIgnore + public PrometheusSpecSVolumeClaimTemplateBuilder edit() { + return new PrometheusSpecSVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeClasses.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeClasses.java new file mode 100644 index 00000000000..42964fa1c7d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeClasses.java @@ -0,0 +1,154 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "default", + "name", + "relabelings", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecScrapeClasses implements Editable , KubernetesResource +{ + + @JsonProperty("default") + private Boolean _default; + @JsonProperty("name") + private String name; + @JsonProperty("relabelings") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List relabelings = new ArrayList<>(); + @JsonProperty("tlsConfig") + private PrometheusSpecSCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecScrapeClasses() { + } + + public PrometheusSpecScrapeClasses(Boolean _default, String name, List relabelings, PrometheusSpecSCTlsConfig tlsConfig) { + super(); + this._default = _default; + this.name = name; + this.relabelings = relabelings; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("default") + public Boolean getDefault() { + return _default; + } + + @JsonProperty("default") + public void setDefault(Boolean _default) { + this._default = _default; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("relabelings") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRelabelings() { + return relabelings; + } + + @JsonProperty("relabelings") + public void setRelabelings(List relabelings) { + this.relabelings = relabelings; + } + + @JsonProperty("tlsConfig") + public PrometheusSpecSCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(PrometheusSpecSCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public PrometheusSpecScrapeClassesBuilder edit() { + return new PrometheusSpecScrapeClassesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecScrapeClassesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigNamespaceSelector.java new file mode 100644 index 00000000000..3ee41baee73 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecScrapeConfigNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecScrapeConfigNamespaceSelector() { + } + + public PrometheusSpecScrapeConfigNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecScrapeConfigNamespaceSelectorBuilder edit() { + return new PrometheusSpecScrapeConfigNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecScrapeConfigNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigSelector.java new file mode 100644 index 00000000000..ebaa0b6045c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecScrapeConfigSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecScrapeConfigSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecScrapeConfigSelector() { + } + + public PrometheusSpecScrapeConfigSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecScrapeConfigSelectorBuilder edit() { + return new PrometheusSpecScrapeConfigSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecScrapeConfigSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSecurityContext.java new file mode 100644 index 00000000000..30586f5fa64 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecSecurityContext.java @@ -0,0 +1,241 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Sysctl; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsGroup", + "fsGroupChangePolicy", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "supplementalGroups", + "sysctls", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("fsGroup") + private Long fsGroup; + @JsonProperty("fsGroupChangePolicy") + private String fsGroupChangePolicy; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private PrometheusSpecSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private PrometheusSpecSCSeccompProfile seccompProfile; + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List supplementalGroups = new ArrayList<>(); + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sysctls = new ArrayList<>(); + @JsonProperty("windowsOptions") + private PrometheusSpecSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecSecurityContext() { + } + + public PrometheusSpecSecurityContext(Long fsGroup, String fsGroupChangePolicy, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, PrometheusSpecSCSeLinuxOptions seLinuxOptions, PrometheusSpecSCSeccompProfile seccompProfile, List supplementalGroups, List sysctls, PrometheusSpecSCWindowsOptions windowsOptions) { + super(); + this.fsGroup = fsGroup; + this.fsGroupChangePolicy = fsGroupChangePolicy; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.supplementalGroups = supplementalGroups; + this.sysctls = sysctls; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("fsGroup") + public Long getFsGroup() { + return fsGroup; + } + + @JsonProperty("fsGroup") + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @JsonProperty("fsGroupChangePolicy") + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + @JsonProperty("fsGroupChangePolicy") + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public PrometheusSpecSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(PrometheusSpecSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public PrometheusSpecSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(PrometheusSpecSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSupplementalGroups() { + return supplementalGroups; + } + + @JsonProperty("supplementalGroups") + public void setSupplementalGroups(List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSysctls() { + return sysctls; + } + + @JsonProperty("sysctls") + public void setSysctls(List sysctls) { + this.sysctls = sysctls; + } + + @JsonProperty("windowsOptions") + public PrometheusSpecSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(PrometheusSpecSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public PrometheusSpecSecurityContextBuilder edit() { + return new PrometheusSpecSecurityContextBuilder(this); + } + + @JsonIgnore + public PrometheusSpecSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorNamespaceSelector.java new file mode 100644 index 00000000000..33774c96ddc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecServiceMonitorNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecServiceMonitorNamespaceSelector() { + } + + public PrometheusSpecServiceMonitorNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecServiceMonitorNamespaceSelectorBuilder edit() { + return new PrometheusSpecServiceMonitorNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecServiceMonitorNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorSelector.java new file mode 100644 index 00000000000..fdae1cfdbe5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecServiceMonitorSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecServiceMonitorSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecServiceMonitorSelector() { + } + + public PrometheusSpecServiceMonitorSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecServiceMonitorSelectorBuilder edit() { + return new PrometheusSpecServiceMonitorSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecServiceMonitorSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecStorage.java similarity index 79% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecStorage.java index df0ff6cbbcc..815d5f270a3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/StorageSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecStorage.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource; -import io.fabric8.kubernetes.api.model.EphemeralVolumeSource; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -56,17 +54,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class StorageSpec implements Editable , KubernetesResource +public class PrometheusSpecStorage implements Editable , KubernetesResource { @JsonProperty("disableMountSubPath") private Boolean disableMountSubPath; @JsonProperty("emptyDir") - private EmptyDirVolumeSource emptyDir; + private PrometheusSpecSEmptyDir emptyDir; @JsonProperty("ephemeral") - private EphemeralVolumeSource ephemeral; + private PrometheusSpecSEphemeral ephemeral; @JsonProperty("volumeClaimTemplate") - private EmbeddedPersistentVolumeClaim volumeClaimTemplate; + private PrometheusSpecSVolumeClaimTemplate volumeClaimTemplate; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,10 +72,10 @@ public class StorageSpec implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public StorageSpec() { + public PrometheusSpecStorage() { } - public StorageSpec(Boolean disableMountSubPath, EmptyDirVolumeSource emptyDir, EphemeralVolumeSource ephemeral, EmbeddedPersistentVolumeClaim volumeClaimTemplate) { + public PrometheusSpecStorage(Boolean disableMountSubPath, PrometheusSpecSEmptyDir emptyDir, PrometheusSpecSEphemeral ephemeral, PrometheusSpecSVolumeClaimTemplate volumeClaimTemplate) { super(); this.disableMountSubPath = disableMountSubPath; this.emptyDir = emptyDir; @@ -96,42 +94,42 @@ public void setDisableMountSubPath(Boolean disableMountSubPath) { } @JsonProperty("emptyDir") - public EmptyDirVolumeSource getEmptyDir() { + public PrometheusSpecSEmptyDir getEmptyDir() { return emptyDir; } @JsonProperty("emptyDir") - public void setEmptyDir(EmptyDirVolumeSource emptyDir) { + public void setEmptyDir(PrometheusSpecSEmptyDir emptyDir) { this.emptyDir = emptyDir; } @JsonProperty("ephemeral") - public EphemeralVolumeSource getEphemeral() { + public PrometheusSpecSEphemeral getEphemeral() { return ephemeral; } @JsonProperty("ephemeral") - public void setEphemeral(EphemeralVolumeSource ephemeral) { + public void setEphemeral(PrometheusSpecSEphemeral ephemeral) { this.ephemeral = ephemeral; } @JsonProperty("volumeClaimTemplate") - public EmbeddedPersistentVolumeClaim getVolumeClaimTemplate() { + public PrometheusSpecSVolumeClaimTemplate getVolumeClaimTemplate() { return volumeClaimTemplate; } @JsonProperty("volumeClaimTemplate") - public void setVolumeClaimTemplate(EmbeddedPersistentVolumeClaim volumeClaimTemplate) { + public void setVolumeClaimTemplate(PrometheusSpecSVolumeClaimTemplate volumeClaimTemplate) { this.volumeClaimTemplate = volumeClaimTemplate; } @JsonIgnore - public StorageSpecBuilder edit() { - return new StorageSpecBuilder(this); + public PrometheusSpecStorageBuilder edit() { + return new PrometheusSpecStorageBuilder(this); } @JsonIgnore - public StorageSpecBuilder toBuilder() { + public PrometheusSpecStorageBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTAdditionalArgs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTAdditionalArgs.java new file mode 100644 index 00000000000..07bec3a332b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTAdditionalArgs.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTAdditionalArgs implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTAdditionalArgs() { + } + + public PrometheusSpecTAdditionalArgs(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public PrometheusSpecTAdditionalArgsBuilder edit() { + return new PrometheusSpecTAdditionalArgsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTAdditionalArgsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap.java new file mode 100644 index 00000000000..a3650a1fb2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCConfigMap() { + } + + public PrometheusSpecTCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTCTCCConfigMapBuilder edit() { + return new PrometheusSpecTCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap_1.java new file mode 100644 index 00000000000..4e8a6af11cb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCConfigMap_1() { + } + + public PrometheusSpecTCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTCTCCConfigMap_1Builder edit() { + return new PrometheusSpecTCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret.java new file mode 100644 index 00000000000..02b1e9b96b9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCSecret() { + } + + public PrometheusSpecTCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTCTCCSecretBuilder edit() { + return new PrometheusSpecTCTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret_1.java new file mode 100644 index 00000000000..ff363f624d2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCSecret_1() { + } + + public PrometheusSpecTCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTCTCCSecret_1Builder edit() { + return new PrometheusSpecTCTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCa.java new file mode 100644 index 00000000000..8db6ee20f26 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecTCTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecTCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCa() { + } + + public PrometheusSpecTCTCCa(PrometheusSpecTCTCCConfigMap configMap, PrometheusSpecTCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecTCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecTCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecTCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecTCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecTCTCCaBuilder edit() { + return new PrometheusSpecTCTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCert.java new file mode 100644 index 00000000000..23dc827c663 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecTCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecTCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCCert() { + } + + public PrometheusSpecTCTCCert(PrometheusSpecTCTCCConfigMap_1 configMap, PrometheusSpecTCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecTCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecTCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecTCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecTCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecTCTCCertBuilder edit() { + return new PrometheusSpecTCTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCKeySecret.java new file mode 100644 index 00000000000..370750b555d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTCKeySecret() { + } + + public PrometheusSpecTCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTCTCKeySecretBuilder edit() { + return new PrometheusSpecTCTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTlsConfig.java new file mode 100644 index 00000000000..ed9ee23b5fe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTCTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecTCTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecTCTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecTCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTCTlsConfig() { + } + + public PrometheusSpecTCTlsConfig(PrometheusSpecTCTCCa ca, String caFile, PrometheusSpecTCTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecTCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecTCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecTCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecTCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecTCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecTCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecTCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecTCTlsConfigBuilder edit() { + return new PrometheusSpecTCTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap.java new file mode 100644 index 00000000000..63aaa144aa1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCConfigMap() { + } + + public PrometheusSpecTGSTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTGSTCCConfigMapBuilder edit() { + return new PrometheusSpecTGSTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap_1.java new file mode 100644 index 00000000000..6e34d8eb828 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCConfigMap_1() { + } + + public PrometheusSpecTGSTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTGSTCCConfigMap_1Builder edit() { + return new PrometheusSpecTGSTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret.java new file mode 100644 index 00000000000..a32d47190e4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCSecret() { + } + + public PrometheusSpecTGSTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTGSTCCSecretBuilder edit() { + return new PrometheusSpecTGSTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret_1.java new file mode 100644 index 00000000000..2e32e3c9fe1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCSecret_1() { + } + + public PrometheusSpecTGSTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTGSTCCSecret_1Builder edit() { + return new PrometheusSpecTGSTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCa.java new file mode 100644 index 00000000000..9761b8628f1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecTGSTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecTGSTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCa() { + } + + public PrometheusSpecTGSTCCa(PrometheusSpecTGSTCCConfigMap configMap, PrometheusSpecTGSTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecTGSTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecTGSTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecTGSTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecTGSTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecTGSTCCaBuilder edit() { + return new PrometheusSpecTGSTCCaBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCert.java new file mode 100644 index 00000000000..2c0e9ed8905 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecTGSTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecTGSTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCCert() { + } + + public PrometheusSpecTGSTCCert(PrometheusSpecTGSTCCConfigMap_1 configMap, PrometheusSpecTGSTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecTGSTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecTGSTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecTGSTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecTGSTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecTGSTCCertBuilder edit() { + return new PrometheusSpecTGSTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCKeySecret.java new file mode 100644 index 00000000000..f74e0b2a4b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGSTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGSTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGSTCKeySecret() { + } + + public PrometheusSpecTGSTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTGSTCKeySecretBuilder edit() { + return new PrometheusSpecTGSTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGSTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGrpcServerTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGrpcServerTlsConfig.java new file mode 100644 index 00000000000..4872fc1a356 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTGrpcServerTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTGrpcServerTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private PrometheusSpecTGSTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private PrometheusSpecTGSTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private PrometheusSpecTGSTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTGrpcServerTlsConfig() { + } + + public PrometheusSpecTGrpcServerTlsConfig(PrometheusSpecTGSTCCa ca, String caFile, PrometheusSpecTGSTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, PrometheusSpecTGSTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public PrometheusSpecTGSTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(PrometheusSpecTGSTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public PrometheusSpecTGSTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(PrometheusSpecTGSTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public PrometheusSpecTGSTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(PrometheusSpecTGSTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public PrometheusSpecTGrpcServerTlsConfigBuilder edit() { + return new PrometheusSpecTGrpcServerTlsConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTGrpcServerTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTObjectStorageConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTObjectStorageConfig.java new file mode 100644 index 00000000000..d1f150a1864 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTObjectStorageConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTObjectStorageConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTObjectStorageConfig() { + } + + public PrometheusSpecTObjectStorageConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTObjectStorageConfigBuilder edit() { + return new PrometheusSpecTObjectStorageConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTObjectStorageConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTResources.java new file mode 100644 index 00000000000..2742f801ee4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTResources() { + } + + public PrometheusSpecTResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecTResourcesBuilder edit() { + return new PrometheusSpecTResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTSCLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTSCLabelSelector.java new file mode 100644 index 00000000000..d0dd307448c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTSCLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTSCLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTSCLabelSelector() { + } + + public PrometheusSpecTSCLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecTSCLabelSelectorBuilder edit() { + return new PrometheusSpecTSCLabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTSCLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTTracingConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTTracingConfig.java new file mode 100644 index 00000000000..16ab90e1b0e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTTracingConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTTracingConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTTracingConfig() { + } + + public PrometheusSpecTTracingConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecTTracingConfigBuilder edit() { + return new PrometheusSpecTTracingConfigBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTTracingConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTVolumeMounts.java new file mode 100644 index 00000000000..6453ee7a4d0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTVolumeMounts() { + } + + public PrometheusSpecTVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public PrometheusSpecTVolumeMountsBuilder edit() { + return new PrometheusSpecTVolumeMountsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecThanos.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecThanos.java index 366d3b6bba5..9f20887d951 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecThanos.java @@ -23,8 +23,7 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.SecretKeySelector; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -69,19 +68,19 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ThanosSpec implements Editable , KubernetesResource +public class PrometheusSpecThanos implements Editable , KubernetesResource { @JsonProperty("additionalArgs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List additionalArgs = new ArrayList<>(); + private List additionalArgs = new ArrayList<>(); @JsonProperty("baseImage") private String baseImage; @JsonProperty("blockSize") @@ -93,7 +92,7 @@ public class ThanosSpec implements Editable , KubernetesResou @JsonProperty("grpcListenLocal") private Boolean grpcListenLocal; @JsonProperty("grpcServerTlsConfig") - private TLSConfig grpcServerTlsConfig; + private PrometheusSpecTGrpcServerTlsConfig grpcServerTlsConfig; @JsonProperty("httpListenLocal") private Boolean httpListenLocal; @JsonProperty("image") @@ -107,26 +106,26 @@ public class ThanosSpec implements Editable , KubernetesResou @JsonProperty("minTime") private String minTime; @JsonProperty("objectStorageConfig") - private SecretKeySelector objectStorageConfig; + private PrometheusSpecTObjectStorageConfig objectStorageConfig; @JsonProperty("objectStorageConfigFile") private String objectStorageConfigFile; @JsonProperty("readyTimeout") private String readyTimeout; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private PrometheusSpecTResources resources; @JsonProperty("sha") private String sha; @JsonProperty("tag") private String tag; @JsonProperty("tracingConfig") - private SecretKeySelector tracingConfig; + private PrometheusSpecTTracingConfig tracingConfig; @JsonProperty("tracingConfigFile") private String tracingConfigFile; @JsonProperty("version") private String version; @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -134,10 +133,10 @@ public class ThanosSpec implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public ThanosSpec() { + public PrometheusSpecThanos() { } - public ThanosSpec(List additionalArgs, String baseImage, String blockSize, String getConfigInterval, String getConfigTimeout, Boolean grpcListenLocal, TLSConfig grpcServerTlsConfig, Boolean httpListenLocal, String image, Boolean listenLocal, String logFormat, String logLevel, String minTime, SecretKeySelector objectStorageConfig, String objectStorageConfigFile, String readyTimeout, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String sha, String tag, SecretKeySelector tracingConfig, String tracingConfigFile, String version, List volumeMounts) { + public PrometheusSpecThanos(List additionalArgs, String baseImage, String blockSize, String getConfigInterval, String getConfigTimeout, Boolean grpcListenLocal, PrometheusSpecTGrpcServerTlsConfig grpcServerTlsConfig, Boolean httpListenLocal, String image, Boolean listenLocal, String logFormat, String logLevel, String minTime, PrometheusSpecTObjectStorageConfig objectStorageConfig, String objectStorageConfigFile, String readyTimeout, PrometheusSpecTResources resources, String sha, String tag, PrometheusSpecTTracingConfig tracingConfig, String tracingConfigFile, String version, List volumeMounts) { super(); this.additionalArgs = additionalArgs; this.baseImage = baseImage; @@ -166,12 +165,12 @@ public ThanosSpec(List additionalArgs, String baseImage, String blockS @JsonProperty("additionalArgs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getAdditionalArgs() { + public List getAdditionalArgs() { return additionalArgs; } @JsonProperty("additionalArgs") - public void setAdditionalArgs(List additionalArgs) { + public void setAdditionalArgs(List additionalArgs) { this.additionalArgs = additionalArgs; } @@ -226,12 +225,12 @@ public void setGrpcListenLocal(Boolean grpcListenLocal) { } @JsonProperty("grpcServerTlsConfig") - public TLSConfig getGrpcServerTlsConfig() { + public PrometheusSpecTGrpcServerTlsConfig getGrpcServerTlsConfig() { return grpcServerTlsConfig; } @JsonProperty("grpcServerTlsConfig") - public void setGrpcServerTlsConfig(TLSConfig grpcServerTlsConfig) { + public void setGrpcServerTlsConfig(PrometheusSpecTGrpcServerTlsConfig grpcServerTlsConfig) { this.grpcServerTlsConfig = grpcServerTlsConfig; } @@ -296,12 +295,12 @@ public void setMinTime(String minTime) { } @JsonProperty("objectStorageConfig") - public SecretKeySelector getObjectStorageConfig() { + public PrometheusSpecTObjectStorageConfig getObjectStorageConfig() { return objectStorageConfig; } @JsonProperty("objectStorageConfig") - public void setObjectStorageConfig(SecretKeySelector objectStorageConfig) { + public void setObjectStorageConfig(PrometheusSpecTObjectStorageConfig objectStorageConfig) { this.objectStorageConfig = objectStorageConfig; } @@ -326,12 +325,12 @@ public void setReadyTimeout(String readyTimeout) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public PrometheusSpecTResources getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(PrometheusSpecTResources resources) { this.resources = resources; } @@ -356,12 +355,12 @@ public void setTag(String tag) { } @JsonProperty("tracingConfig") - public SecretKeySelector getTracingConfig() { + public PrometheusSpecTTracingConfig getTracingConfig() { return tracingConfig; } @JsonProperty("tracingConfig") - public void setTracingConfig(SecretKeySelector tracingConfig) { + public void setTracingConfig(PrometheusSpecTTracingConfig tracingConfig) { this.tracingConfig = tracingConfig; } @@ -387,22 +386,22 @@ public void setVersion(String version) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } @JsonIgnore - public ThanosSpecBuilder edit() { - return new ThanosSpecBuilder(this); + public PrometheusSpecThanosBuilder edit() { + return new PrometheusSpecThanosBuilder(this); } @JsonIgnore - public ThanosSpecBuilder toBuilder() { + public PrometheusSpecThanosBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTolerations.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTolerations.java new file mode 100644 index 00000000000..75ef4060c29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTolerations.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTolerations() { + } + + public PrometheusSpecTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public PrometheusSpecTolerationsBuilder edit() { + return new PrometheusSpecTolerationsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTolerationsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTopologySpreadConstraints.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTopologySpreadConstraints.java new file mode 100644 index 00000000000..c9e84f8db1a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTopologySpreadConstraints.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "additionalLabelSelectors", + "labelSelector", + "matchLabelKeys", + "maxSkew", + "minDomains", + "nodeAffinityPolicy", + "nodeTaintsPolicy", + "topologyKey", + "whenUnsatisfiable" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecTopologySpreadConstraints implements Editable , KubernetesResource +{ + + @JsonProperty("additionalLabelSelectors") + private String additionalLabelSelectors; + @JsonProperty("labelSelector") + private PrometheusSpecTSCLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("maxSkew") + private Integer maxSkew; + @JsonProperty("minDomains") + private Integer minDomains; + @JsonProperty("nodeAffinityPolicy") + private String nodeAffinityPolicy; + @JsonProperty("nodeTaintsPolicy") + private String nodeTaintsPolicy; + @JsonProperty("topologyKey") + private String topologyKey; + @JsonProperty("whenUnsatisfiable") + private String whenUnsatisfiable; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecTopologySpreadConstraints() { + } + + public PrometheusSpecTopologySpreadConstraints(String additionalLabelSelectors, PrometheusSpecTSCLabelSelector labelSelector, List matchLabelKeys, Integer maxSkew, Integer minDomains, String nodeAffinityPolicy, String nodeTaintsPolicy, String topologyKey, String whenUnsatisfiable) { + super(); + this.additionalLabelSelectors = additionalLabelSelectors; + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.maxSkew = maxSkew; + this.minDomains = minDomains; + this.nodeAffinityPolicy = nodeAffinityPolicy; + this.nodeTaintsPolicy = nodeTaintsPolicy; + this.topologyKey = topologyKey; + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonProperty("additionalLabelSelectors") + public String getAdditionalLabelSelectors() { + return additionalLabelSelectors; + } + + @JsonProperty("additionalLabelSelectors") + public void setAdditionalLabelSelectors(String additionalLabelSelectors) { + this.additionalLabelSelectors = additionalLabelSelectors; + } + + @JsonProperty("labelSelector") + public PrometheusSpecTSCLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecTSCLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("maxSkew") + public Integer getMaxSkew() { + return maxSkew; + } + + @JsonProperty("maxSkew") + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @JsonProperty("minDomains") + public Integer getMinDomains() { + return minDomains; + } + + @JsonProperty("minDomains") + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @JsonProperty("nodeAffinityPolicy") + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + @JsonProperty("nodeAffinityPolicy") + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonProperty("whenUnsatisfiable") + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + @JsonProperty("whenUnsatisfiable") + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonIgnore + public PrometheusSpecTopologySpreadConstraintsBuilder edit() { + return new PrometheusSpecTopologySpreadConstraintsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecTopologySpreadConstraintsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusTracingConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTracingConfig.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusTracingConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTracingConfig.java index 5b6c8205124..40a306e7e06 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusTracingConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTracingConfig.java @@ -21,7 +21,6 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Quantity; import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; @@ -59,7 +58,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusTracingConfig implements Editable , KubernetesResource +public class PrometheusSpecTracingConfig implements Editable , KubernetesResource { @JsonProperty("clientType") @@ -74,11 +73,12 @@ public class PrometheusTracingConfig implements Editable additionalProperties = new LinkedHashMap(); @@ -86,10 +86,10 @@ public class PrometheusTracingConfig implements Editable headers, Boolean insecure, Quantity samplingFraction, String timeout, TLSConfig tlsConfig) { + public PrometheusSpecTracingConfig(String clientType, String compression, String endpoint, Map headers, Boolean insecure, Object samplingFraction, String timeout, PrometheusSpecTCTlsConfig tlsConfig) { super(); this.clientType = clientType; this.compression = compression; @@ -153,12 +153,13 @@ public void setInsecure(Boolean insecure) { } @JsonProperty("samplingFraction") - public Quantity getSamplingFraction() { + public Object getSamplingFraction() { return samplingFraction; } @JsonProperty("samplingFraction") - public void setSamplingFraction(Quantity samplingFraction) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSamplingFraction(Object samplingFraction) { this.samplingFraction = samplingFraction; } @@ -173,22 +174,22 @@ public void setTimeout(String timeout) { } @JsonProperty("tlsConfig") - public TLSConfig getTlsConfig() { + public PrometheusSpecTCTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(TLSConfig tlsConfig) { + public void setTlsConfig(PrometheusSpecTCTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public PrometheusTracingConfigBuilder edit() { - return new PrometheusTracingConfigBuilder(this); + public PrometheusSpecTracingConfigBuilder edit() { + return new PrometheusSpecTracingConfigBuilder(this); } @JsonIgnore - public PrometheusTracingConfigBuilder toBuilder() { + public PrometheusSpecTracingConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TSDBSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTsdb.java similarity index 90% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TSDBSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTsdb.java index d292f578f1b..c36c2c21e5b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/TSDBSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecTsdb.java @@ -51,7 +51,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TSDBSpec implements Editable , KubernetesResource +public class PrometheusSpecTsdb implements Editable , KubernetesResource { @JsonProperty("outOfOrderTimeWindow") @@ -63,10 +63,10 @@ public class TSDBSpec implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public TSDBSpec() { + public PrometheusSpecTsdb() { } - public TSDBSpec(String outOfOrderTimeWindow) { + public PrometheusSpecTsdb(String outOfOrderTimeWindow) { super(); this.outOfOrderTimeWindow = outOfOrderTimeWindow; } @@ -82,12 +82,12 @@ public void setOutOfOrderTimeWindow(String outOfOrderTimeWindow) { } @JsonIgnore - public TSDBSpecBuilder edit() { - return new TSDBSpecBuilder(this); + public PrometheusSpecTsdbBuilder edit() { + return new PrometheusSpecTsdbBuilder(this); } @JsonIgnore - public TSDBSpecBuilder toBuilder() { + public PrometheusSpecTsdbBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAwsElasticBlockStore.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAwsElasticBlockStore.java new file mode 100644 index 00000000000..170f75de8a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAwsElasticBlockStore.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVAwsElasticBlockStore implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVAwsElasticBlockStore() { + } + + public PrometheusSpecVAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.partition = partition; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public PrometheusSpecVAwsElasticBlockStoreBuilder edit() { + return new PrometheusSpecVAwsElasticBlockStoreBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVAwsElasticBlockStoreBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureDisk.java new file mode 100644 index 00000000000..ff7ef1d7ad6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureDisk.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "cachingMode", + "diskName", + "diskURI", + "fsType", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVAzureDisk implements Editable , KubernetesResource +{ + + @JsonProperty("cachingMode") + private String cachingMode; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("diskURI") + private String diskURI; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("kind") + private String kind; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVAzureDisk() { + } + + public PrometheusSpecVAzureDisk(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly) { + super(); + this.cachingMode = cachingMode; + this.diskName = diskName; + this.diskURI = diskURI; + this.fsType = fsType; + this.kind = kind; + this.readOnly = readOnly; + } + + @JsonProperty("cachingMode") + public String getCachingMode() { + return cachingMode; + } + + @JsonProperty("cachingMode") + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("diskURI") + public String getDiskURI() { + return diskURI; + } + + @JsonProperty("diskURI") + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public PrometheusSpecVAzureDiskBuilder edit() { + return new PrometheusSpecVAzureDiskBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVAzureDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureFile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureFile.java new file mode 100644 index 00000000000..80aec47d5bb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVAzureFile.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "readOnly", + "secretName", + "shareName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVAzureFile implements Editable , KubernetesResource +{ + + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("shareName") + private String shareName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVAzureFile() { + } + + public PrometheusSpecVAzureFile(Boolean readOnly, String secretName, String shareName) { + super(); + this.readOnly = readOnly; + this.secretName = secretName; + this.shareName = shareName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("shareName") + public String getShareName() { + return shareName; + } + + @JsonProperty("shareName") + public void setShareName(String shareName) { + this.shareName = shareName; + } + + @JsonIgnore + public PrometheusSpecVAzureFileBuilder edit() { + return new PrometheusSpecVAzureFileBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVAzureFileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCNodePublishSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCNodePublishSecretRef.java new file mode 100644 index 00000000000..b7738d3215b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCNodePublishSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCNodePublishSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCNodePublishSecretRef() { + } + + public PrometheusSpecVCNodePublishSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVCNodePublishSecretRefBuilder edit() { + return new PrometheusSpecVCNodePublishSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVCNodePublishSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef.java new file mode 100644 index 00000000000..912ca8fbf7a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCSecretRef() { + } + + public PrometheusSpecVCSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVCSecretRefBuilder edit() { + return new PrometheusSpecVCSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVCSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef_1.java new file mode 100644 index 00000000000..b415cf061e1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCSecretRef_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCSecretRef_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCSecretRef_1() { + } + + public PrometheusSpecVCSecretRef_1(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVCSecretRef_1Builder edit() { + return new PrometheusSpecVCSecretRef_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecVCSecretRef_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCephfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCephfs.java new file mode 100644 index 00000000000..87831a98ede --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCephfs.java @@ -0,0 +1,182 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "monitors", + "path", + "readOnly", + "secretFile", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCephfs implements Editable , KubernetesResource +{ + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretFile") + private String secretFile; + @JsonProperty("secretRef") + private PrometheusSpecVCSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCephfs() { + } + + public PrometheusSpecVCephfs(List monitors, String path, Boolean readOnly, String secretFile, PrometheusSpecVCSecretRef secretRef, String user) { + super(); + this.monitors = monitors; + this.path = path; + this.readOnly = readOnly; + this.secretFile = secretFile; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretFile") + public String getSecretFile() { + return secretFile; + } + + @JsonProperty("secretFile") + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @JsonProperty("secretRef") + public PrometheusSpecVCSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVCSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public PrometheusSpecVCephfsBuilder edit() { + return new PrometheusSpecVCephfsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVCephfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCinder.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCinder.java new file mode 100644 index 00000000000..5ca0c574904 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCinder.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCinder implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVCSecretRef_1 secretRef; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCinder() { + } + + public PrometheusSpecVCinder(String fsType, Boolean readOnly, PrometheusSpecVCSecretRef_1 secretRef, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVCSecretRef_1 getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVCSecretRef_1 secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public PrometheusSpecVCinderBuilder edit() { + return new PrometheusSpecVCinderBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVCinderBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVConfigMap.java new file mode 100644 index 00000000000..b8c4ee8775d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVConfigMap.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVConfigMap() { + } + + public PrometheusSpecVConfigMap(Integer defaultMode, List items, String name, Boolean optional) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecVConfigMapBuilder edit() { + return new PrometheusSpecVConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCsi.java new file mode 100644 index 00000000000..cd65c141933 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVCsi.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "nodePublishSecretRef", + "readOnly", + "volumeAttributes" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVCsi implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("nodePublishSecretRef") + private PrometheusSpecVCNodePublishSecretRef nodePublishSecretRef; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map volumeAttributes = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVCsi() { + } + + public PrometheusSpecVCsi(String driver, String fsType, PrometheusSpecVCNodePublishSecretRef nodePublishSecretRef, Boolean readOnly, Map volumeAttributes) { + super(); + this.driver = driver; + this.fsType = fsType; + this.nodePublishSecretRef = nodePublishSecretRef; + this.readOnly = readOnly; + this.volumeAttributes = volumeAttributes; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("nodePublishSecretRef") + public PrometheusSpecVCNodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + @JsonProperty("nodePublishSecretRef") + public void setNodePublishSecretRef(PrometheusSpecVCNodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getVolumeAttributes() { + return volumeAttributes; + } + + @JsonProperty("volumeAttributes") + public void setVolumeAttributes(Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } + + @JsonIgnore + public PrometheusSpecVCsiBuilder edit() { + return new PrometheusSpecVCsiBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVCsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIFieldRef.java new file mode 100644 index 00000000000..6b2dc772b84 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVDAIFieldRef() { + } + + public PrometheusSpecVDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public PrometheusSpecVDAIFieldRefBuilder edit() { + return new PrometheusSpecVDAIFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIResourceFieldRef.java new file mode 100644 index 00000000000..4269862ffc6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVDAIResourceFieldRef() { + } + + public PrometheusSpecVDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public PrometheusSpecVDAIResourceFieldRefBuilder edit() { + return new PrometheusSpecVDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAItems.java new file mode 100644 index 00000000000..0632e08c950 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private PrometheusSpecVDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private PrometheusSpecVDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVDAItems() { + } + + public PrometheusSpecVDAItems(PrometheusSpecVDAIFieldRef fieldRef, Integer mode, String path, PrometheusSpecVDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public PrometheusSpecVDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(PrometheusSpecVDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public PrometheusSpecVDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(PrometheusSpecVDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public PrometheusSpecVDAItemsBuilder edit() { + return new PrometheusSpecVDAItemsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDownwardAPI.java new file mode 100644 index 00000000000..bd992285aba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVDownwardAPI.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVDownwardAPI() { + } + + public PrometheusSpecVDownwardAPI(Integer defaultMode, List items) { + super(); + this.defaultMode = defaultMode; + this.items = items; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public PrometheusSpecVDownwardAPIBuilder edit() { + return new PrometheusSpecVDownwardAPIBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpec.java new file mode 100644 index 00000000000..52887fd6a3b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private PrometheusSpecVEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private PrometheusSpecVEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private PrometheusSpecVEVCTSpecResources resources; + @JsonProperty("selector") + private PrometheusSpecVEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVCTSpec() { + } + + public PrometheusSpecVEVCTSpec(List accessModes, PrometheusSpecVEVCTSpecDataSource dataSource, PrometheusSpecVEVCTSpecDataSourceRef dataSourceRef, PrometheusSpecVEVCTSpecResources resources, PrometheusSpecVEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public PrometheusSpecVEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(PrometheusSpecVEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public PrometheusSpecVEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(PrometheusSpecVEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public PrometheusSpecVEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(PrometheusSpecVEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public PrometheusSpecVEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PrometheusSpecVEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecBuilder edit() { + return new PrometheusSpecVEVCTSpecBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSource.java new file mode 100644 index 00000000000..b0933294e4a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVCTSpecDataSource() { + } + + public PrometheusSpecVEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecDataSourceBuilder edit() { + return new PrometheusSpecVEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..707883bff57 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVCTSpecDataSourceRef() { + } + + public PrometheusSpecVEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecDataSourceRefBuilder edit() { + return new PrometheusSpecVEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecResources.java new file mode 100644 index 00000000000..ba9d16a2054 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVCTSpecResources() { + } + + public PrometheusSpecVEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecResourcesBuilder edit() { + return new PrometheusSpecVEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecSelector.java new file mode 100644 index 00000000000..af96f9dd3b8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVCTSpecSelector() { + } + + public PrometheusSpecVEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecSelectorBuilder edit() { + return new PrometheusSpecVEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVolumeClaimTemplate.java new file mode 100644 index 00000000000..f5c4ea74972 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private PrometheusSpecVEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEVolumeClaimTemplate() { + } + + public PrometheusSpecVEVolumeClaimTemplate(Object metadata, PrometheusSpecVEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public PrometheusSpecVEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(PrometheusSpecVEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public PrometheusSpecVEVolumeClaimTemplateBuilder edit() { + return new PrometheusSpecVEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEmptyDir.java new file mode 100644 index 00000000000..a4a0d760e33 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEmptyDir() { + } + + public PrometheusSpecVEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public PrometheusSpecVEmptyDirBuilder edit() { + return new PrometheusSpecVEmptyDirBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEphemeral.java new file mode 100644 index 00000000000..dca121b8f60 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private PrometheusSpecVEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVEphemeral() { + } + + public PrometheusSpecVEphemeral(PrometheusSpecVEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public PrometheusSpecVEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(PrometheusSpecVEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public PrometheusSpecVEphemeralBuilder edit() { + return new PrometheusSpecVEphemeralBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFVSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFVSecretRef.java new file mode 100644 index 00000000000..e2865f10266 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFVSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVFVSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVFVSecretRef() { + } + + public PrometheusSpecVFVSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVFVSecretRefBuilder edit() { + return new PrometheusSpecVFVSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVFVSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFc.java new file mode 100644 index 00000000000..2b67e931ded --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFc.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "lun", + "readOnly", + "targetWWNs", + "wwids" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVFc implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetWWNs = new ArrayList<>(); + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List wwids = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVFc() { + } + + public PrometheusSpecVFc(String fsType, Integer lun, Boolean readOnly, List targetWWNs, List wwids) { + super(); + this.fsType = fsType; + this.lun = lun; + this.readOnly = readOnly; + this.targetWWNs = targetWWNs; + this.wwids = wwids; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetWWNs() { + return targetWWNs; + } + + @JsonProperty("targetWWNs") + public void setTargetWWNs(List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWwids() { + return wwids; + } + + @JsonProperty("wwids") + public void setWwids(List wwids) { + this.wwids = wwids; + } + + @JsonIgnore + public PrometheusSpecVFcBuilder edit() { + return new PrometheusSpecVFcBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVFcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlexVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlexVolume.java new file mode 100644 index 00000000000..ec5b6176858 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlexVolume.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "options", + "readOnly", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVFlexVolume implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map options = new LinkedHashMap<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVFVSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVFlexVolume() { + } + + public PrometheusSpecVFlexVolume(String driver, String fsType, Map options, Boolean readOnly, PrometheusSpecVFVSecretRef secretRef) { + super(); + this.driver = driver; + this.fsType = fsType; + this.options = options; + this.readOnly = readOnly; + this.secretRef = secretRef; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(Map options) { + this.options = options; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVFVSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVFVSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public PrometheusSpecVFlexVolumeBuilder edit() { + return new PrometheusSpecVFlexVolumeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVFlexVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlocker.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlocker.java new file mode 100644 index 00000000000..90c9c248b6d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVFlocker.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "datasetName", + "datasetUUID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVFlocker implements Editable , KubernetesResource +{ + + @JsonProperty("datasetName") + private String datasetName; + @JsonProperty("datasetUUID") + private String datasetUUID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVFlocker() { + } + + public PrometheusSpecVFlocker(String datasetName, String datasetUUID) { + super(); + this.datasetName = datasetName; + this.datasetUUID = datasetUUID; + } + + @JsonProperty("datasetName") + public String getDatasetName() { + return datasetName; + } + + @JsonProperty("datasetName") + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @JsonProperty("datasetUUID") + public String getDatasetUUID() { + return datasetUUID; + } + + @JsonProperty("datasetUUID") + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } + + @JsonIgnore + public PrometheusSpecVFlockerBuilder edit() { + return new PrometheusSpecVFlockerBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVFlockerBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGcePersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGcePersistentDisk.java new file mode 100644 index 00000000000..7ad9069c981 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGcePersistentDisk.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "pdName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVGcePersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("pdName") + private String pdName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVGcePersistentDisk() { + } + + public PrometheusSpecVGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly) { + super(); + this.fsType = fsType; + this.partition = partition; + this.pdName = pdName; + this.readOnly = readOnly; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("pdName") + public String getPdName() { + return pdName; + } + + @JsonProperty("pdName") + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public PrometheusSpecVGcePersistentDiskBuilder edit() { + return new PrometheusSpecVGcePersistentDiskBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVGcePersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGitRepo.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGitRepo.java new file mode 100644 index 00000000000..83fcd4429f1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGitRepo.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "directory", + "repository", + "revision" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVGitRepo implements Editable , KubernetesResource +{ + + @JsonProperty("directory") + private String directory; + @JsonProperty("repository") + private String repository; + @JsonProperty("revision") + private String revision; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVGitRepo() { + } + + public PrometheusSpecVGitRepo(String directory, String repository, String revision) { + super(); + this.directory = directory; + this.repository = repository; + this.revision = revision; + } + + @JsonProperty("directory") + public String getDirectory() { + return directory; + } + + @JsonProperty("directory") + public void setDirectory(String directory) { + this.directory = directory; + } + + @JsonProperty("repository") + public String getRepository() { + return repository; + } + + @JsonProperty("repository") + public void setRepository(String repository) { + this.repository = repository; + } + + @JsonProperty("revision") + public String getRevision() { + return revision; + } + + @JsonProperty("revision") + public void setRevision(String revision) { + this.revision = revision; + } + + @JsonIgnore + public PrometheusSpecVGitRepoBuilder edit() { + return new PrometheusSpecVGitRepoBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVGitRepoBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGlusterfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGlusterfs.java new file mode 100644 index 00000000000..561af1998b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVGlusterfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "endpoints", + "path", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVGlusterfs implements Editable , KubernetesResource +{ + + @JsonProperty("endpoints") + private String endpoints; + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVGlusterfs() { + } + + public PrometheusSpecVGlusterfs(String endpoints, String path, Boolean readOnly) { + super(); + this.endpoints = endpoints; + this.path = path; + this.readOnly = readOnly; + } + + @JsonProperty("endpoints") + public String getEndpoints() { + return endpoints; + } + + @JsonProperty("endpoints") + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public PrometheusSpecVGlusterfsBuilder edit() { + return new PrometheusSpecVGlusterfsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVGlusterfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVHostPath.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVHostPath.java new file mode 100644 index 00000000000..8be88a634b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVHostPath.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVHostPath implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVHostPath() { + } + + public PrometheusSpecVHostPath(String path, String type) { + super(); + this.path = path; + this.type = type; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public PrometheusSpecVHostPathBuilder edit() { + return new PrometheusSpecVHostPathBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVHostPathBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVISecretRef.java new file mode 100644 index 00000000000..63d04375d30 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVISecretRef() { + } + + public PrometheusSpecVISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVISecretRefBuilder edit() { + return new PrometheusSpecVISecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVIscsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVIscsi.java new file mode 100644 index 00000000000..70d3f899697 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVIscsi.java @@ -0,0 +1,252 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "chapAuthDiscovery", + "chapAuthSession", + "fsType", + "initiatorName", + "iqn", + "iscsiInterface", + "lun", + "portals", + "readOnly", + "secretRef", + "targetPortal" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVIscsi implements Editable , KubernetesResource +{ + + @JsonProperty("chapAuthDiscovery") + private Boolean chapAuthDiscovery; + @JsonProperty("chapAuthSession") + private Boolean chapAuthSession; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("initiatorName") + private String initiatorName; + @JsonProperty("iqn") + private String iqn; + @JsonProperty("iscsiInterface") + private String iscsiInterface; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List portals = new ArrayList<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVISecretRef secretRef; + @JsonProperty("targetPortal") + private String targetPortal; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVIscsi() { + } + + public PrometheusSpecVIscsi(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List portals, Boolean readOnly, PrometheusSpecVISecretRef secretRef, String targetPortal) { + super(); + this.chapAuthDiscovery = chapAuthDiscovery; + this.chapAuthSession = chapAuthSession; + this.fsType = fsType; + this.initiatorName = initiatorName; + this.iqn = iqn; + this.iscsiInterface = iscsiInterface; + this.lun = lun; + this.portals = portals; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.targetPortal = targetPortal; + } + + @JsonProperty("chapAuthDiscovery") + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + @JsonProperty("chapAuthDiscovery") + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @JsonProperty("chapAuthSession") + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + @JsonProperty("chapAuthSession") + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("initiatorName") + public String getInitiatorName() { + return initiatorName; + } + + @JsonProperty("initiatorName") + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @JsonProperty("iqn") + public String getIqn() { + return iqn; + } + + @JsonProperty("iqn") + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @JsonProperty("iscsiInterface") + public String getIscsiInterface() { + return iscsiInterface; + } + + @JsonProperty("iscsiInterface") + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPortals() { + return portals; + } + + @JsonProperty("portals") + public void setPortals(List portals) { + this.portals = portals; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("targetPortal") + public String getTargetPortal() { + return targetPortal; + } + + @JsonProperty("targetPortal") + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } + + @JsonIgnore + public PrometheusSpecVIscsiBuilder edit() { + return new PrometheusSpecVIscsiBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVIscsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVNfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVNfs.java new file mode 100644 index 00000000000..ddd82f0c297 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVNfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "readOnly", + "server" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVNfs implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("server") + private String server; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVNfs() { + } + + public PrometheusSpecVNfs(String path, Boolean readOnly, String server) { + super(); + this.path = path; + this.readOnly = readOnly; + this.server = server; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("server") + public String getServer() { + return server; + } + + @JsonProperty("server") + public void setServer(String server) { + this.server = server; + } + + @JsonIgnore + public PrometheusSpecVNfsBuilder edit() { + return new PrometheusSpecVNfsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVNfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSCTBLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSCTBLabelSelector.java new file mode 100644 index 00000000000..04acf193745 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSCTBLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSCTBLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSCTBLabelSelector() { + } + + public PrometheusSpecVPSCTBLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public PrometheusSpecVPSCTBLabelSelectorBuilder edit() { + return new PrometheusSpecVPSCTBLabelSelectorBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSCTBLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSClusterTrustBundle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSClusterTrustBundle.java new file mode 100644 index 00000000000..da8c7331a46 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSClusterTrustBundle.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "name", + "optional", + "path", + "signerName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSClusterTrustBundle implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private PrometheusSpecVPSCTBLabelSelector labelSelector; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("path") + private String path; + @JsonProperty("signerName") + private String signerName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSClusterTrustBundle() { + } + + public PrometheusSpecVPSClusterTrustBundle(PrometheusSpecVPSCTBLabelSelector labelSelector, String name, Boolean optional, String path, String signerName) { + super(); + this.labelSelector = labelSelector; + this.name = name; + this.optional = optional; + this.path = path; + this.signerName = signerName; + } + + @JsonProperty("labelSelector") + public PrometheusSpecVPSCTBLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(PrometheusSpecVPSCTBLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("signerName") + public String getSignerName() { + return signerName; + } + + @JsonProperty("signerName") + public void setSignerName(String signerName) { + this.signerName = signerName; + } + + @JsonIgnore + public PrometheusSpecVPSClusterTrustBundleBuilder edit() { + return new PrometheusSpecVPSClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSClusterTrustBundleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSConfigMap.java new file mode 100644 index 00000000000..8f66ef4cca0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSConfigMap.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSConfigMap() { + } + + public PrometheusSpecVPSConfigMap(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecVPSConfigMapBuilder edit() { + return new PrometheusSpecVPSConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIFieldRef.java new file mode 100644 index 00000000000..52abaaaca8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSDAIFieldRef() { + } + + public PrometheusSpecVPSDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public PrometheusSpecVPSDAIFieldRefBuilder edit() { + return new PrometheusSpecVPSDAIFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIResourceFieldRef.java new file mode 100644 index 00000000000..7e434b785e8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSDAIResourceFieldRef() { + } + + public PrometheusSpecVPSDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public PrometheusSpecVPSDAIResourceFieldRefBuilder edit() { + return new PrometheusSpecVPSDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAItems.java new file mode 100644 index 00000000000..7964321a46e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private PrometheusSpecVPSDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private PrometheusSpecVPSDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSDAItems() { + } + + public PrometheusSpecVPSDAItems(PrometheusSpecVPSDAIFieldRef fieldRef, Integer mode, String path, PrometheusSpecVPSDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public PrometheusSpecVPSDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(PrometheusSpecVPSDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public PrometheusSpecVPSDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(PrometheusSpecVPSDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public PrometheusSpecVPSDAItemsBuilder edit() { + return new PrometheusSpecVPSDAItemsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDownwardAPI.java new file mode 100644 index 00000000000..e41d61dec49 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSDownwardAPI.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSDownwardAPI() { + } + + public PrometheusSpecVPSDownwardAPI(List items) { + super(); + this.items = items; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public PrometheusSpecVPSDownwardAPIBuilder edit() { + return new PrometheusSpecVPSDownwardAPIBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSSecret.java new file mode 100644 index 00000000000..95293ce42ce --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSSecret.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSSecret implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSSecret() { + } + + public PrometheusSpecVPSSecret(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecVPSSecretBuilder edit() { + return new PrometheusSpecVPSSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSServiceAccountToken.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSServiceAccountToken.java new file mode 100644 index 00000000000..16b20f401ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSServiceAccountToken.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "audience", + "expirationSeconds", + "path" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSServiceAccountToken implements Editable , KubernetesResource +{ + + @JsonProperty("audience") + private String audience; + @JsonProperty("expirationSeconds") + private Long expirationSeconds; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSServiceAccountToken() { + } + + public PrometheusSpecVPSServiceAccountToken(String audience, Long expirationSeconds, String path) { + super(); + this.audience = audience; + this.expirationSeconds = expirationSeconds; + this.path = path; + } + + @JsonProperty("audience") + public String getAudience() { + return audience; + } + + @JsonProperty("audience") + public void setAudience(String audience) { + this.audience = audience; + } + + @JsonProperty("expirationSeconds") + public Long getExpirationSeconds() { + return expirationSeconds; + } + + @JsonProperty("expirationSeconds") + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public PrometheusSpecVPSServiceAccountTokenBuilder edit() { + return new PrometheusSpecVPSServiceAccountTokenBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSServiceAccountTokenBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSources.java new file mode 100644 index 00000000000..4a20b815347 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPSources.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clusterTrustBundle", + "configMap", + "downwardAPI", + "secret", + "serviceAccountToken" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPSources implements Editable , KubernetesResource +{ + + @JsonProperty("clusterTrustBundle") + private PrometheusSpecVPSClusterTrustBundle clusterTrustBundle; + @JsonProperty("configMap") + private PrometheusSpecVPSConfigMap configMap; + @JsonProperty("downwardAPI") + private PrometheusSpecVPSDownwardAPI downwardAPI; + @JsonProperty("secret") + private PrometheusSpecVPSSecret secret; + @JsonProperty("serviceAccountToken") + private PrometheusSpecVPSServiceAccountToken serviceAccountToken; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPSources() { + } + + public PrometheusSpecVPSources(PrometheusSpecVPSClusterTrustBundle clusterTrustBundle, PrometheusSpecVPSConfigMap configMap, PrometheusSpecVPSDownwardAPI downwardAPI, PrometheusSpecVPSSecret secret, PrometheusSpecVPSServiceAccountToken serviceAccountToken) { + super(); + this.clusterTrustBundle = clusterTrustBundle; + this.configMap = configMap; + this.downwardAPI = downwardAPI; + this.secret = secret; + this.serviceAccountToken = serviceAccountToken; + } + + @JsonProperty("clusterTrustBundle") + public PrometheusSpecVPSClusterTrustBundle getClusterTrustBundle() { + return clusterTrustBundle; + } + + @JsonProperty("clusterTrustBundle") + public void setClusterTrustBundle(PrometheusSpecVPSClusterTrustBundle clusterTrustBundle) { + this.clusterTrustBundle = clusterTrustBundle; + } + + @JsonProperty("configMap") + public PrometheusSpecVPSConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecVPSConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("downwardAPI") + public PrometheusSpecVPSDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(PrometheusSpecVPSDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("secret") + public PrometheusSpecVPSSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecVPSSecret secret) { + this.secret = secret; + } + + @JsonProperty("serviceAccountToken") + public PrometheusSpecVPSServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + @JsonProperty("serviceAccountToken") + public void setServiceAccountToken(PrometheusSpecVPSServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } + + @JsonIgnore + public PrometheusSpecVPSourcesBuilder edit() { + return new PrometheusSpecVPSourcesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPSourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPersistentVolumeClaim.java new file mode 100644 index 00000000000..d0793529f8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPersistentVolumeClaim.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claimName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("claimName") + private String claimName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPersistentVolumeClaim() { + } + + public PrometheusSpecVPersistentVolumeClaim(String claimName, Boolean readOnly) { + super(); + this.claimName = claimName; + this.readOnly = readOnly; + } + + @JsonProperty("claimName") + public String getClaimName() { + return claimName; + } + + @JsonProperty("claimName") + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public PrometheusSpecVPersistentVolumeClaimBuilder edit() { + return new PrometheusSpecVPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPersistentVolumeClaimBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPhotonPersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPhotonPersistentDisk.java new file mode 100644 index 00000000000..eb142c9af60 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPhotonPersistentDisk.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "pdID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPhotonPersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("pdID") + private String pdID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPhotonPersistentDisk() { + } + + public PrometheusSpecVPhotonPersistentDisk(String fsType, String pdID) { + super(); + this.fsType = fsType; + this.pdID = pdID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("pdID") + public String getPdID() { + return pdID; + } + + @JsonProperty("pdID") + public void setPdID(String pdID) { + this.pdID = pdID; + } + + @JsonIgnore + public PrometheusSpecVPhotonPersistentDiskBuilder edit() { + return new PrometheusSpecVPhotonPersistentDiskBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPhotonPersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPortworxVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPortworxVolume.java new file mode 100644 index 00000000000..f6ace19cd69 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVPortworxVolume.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVPortworxVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVPortworxVolume() { + } + + public PrometheusSpecVPortworxVolume(String fsType, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public PrometheusSpecVPortworxVolumeBuilder edit() { + return new PrometheusSpecVPortworxVolumeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVPortworxVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVProjected.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVProjected.java new file mode 100644 index 00000000000..317578573ef --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVProjected.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "sources" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVProjected implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVProjected() { + } + + public PrometheusSpecVProjected(Integer defaultMode, List sources) { + super(); + this.defaultMode = defaultMode; + this.sources = sources; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSources() { + return sources; + } + + @JsonProperty("sources") + public void setSources(List sources) { + this.sources = sources; + } + + @JsonIgnore + public PrometheusSpecVProjectedBuilder edit() { + return new PrometheusSpecVProjectedBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVProjectedBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVQuobyte.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVQuobyte.java new file mode 100644 index 00000000000..f5e5553f3ca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVQuobyte.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "group", + "readOnly", + "registry", + "tenant", + "user", + "volume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVQuobyte implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("registry") + private String registry; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("user") + private String user; + @JsonProperty("volume") + private String volume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVQuobyte() { + } + + public PrometheusSpecVQuobyte(String group, Boolean readOnly, String registry, String tenant, String user, String volume) { + super(); + this.group = group; + this.readOnly = readOnly; + this.registry = registry; + this.tenant = tenant; + this.user = user; + this.volume = volume; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("registry") + public String getRegistry() { + return registry; + } + + @JsonProperty("registry") + public void setRegistry(String registry) { + this.registry = registry; + } + + @JsonProperty("tenant") + public String getTenant() { + return tenant; + } + + @JsonProperty("tenant") + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonProperty("volume") + public String getVolume() { + return volume; + } + + @JsonProperty("volume") + public void setVolume(String volume) { + this.volume = volume; + } + + @JsonIgnore + public PrometheusSpecVQuobyteBuilder edit() { + return new PrometheusSpecVQuobyteBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVQuobyteBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRSecretRef.java new file mode 100644 index 00000000000..82dd5b946bc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVRSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVRSecretRef() { + } + + public PrometheusSpecVRSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVRSecretRefBuilder edit() { + return new PrometheusSpecVRSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVRSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRbd.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRbd.java new file mode 100644 index 00000000000..7430e7edc1b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVRbd.java @@ -0,0 +1,210 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "image", + "keyring", + "monitors", + "pool", + "readOnly", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVRbd implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("image") + private String image; + @JsonProperty("keyring") + private String keyring; + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("pool") + private String pool; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVRSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVRbd() { + } + + public PrometheusSpecVRbd(String fsType, String image, String keyring, List monitors, String pool, Boolean readOnly, PrometheusSpecVRSecretRef secretRef, String user) { + super(); + this.fsType = fsType; + this.image = image; + this.keyring = keyring; + this.monitors = monitors; + this.pool = pool; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("keyring") + public String getKeyring() { + return keyring; + } + + @JsonProperty("keyring") + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("pool") + public String getPool() { + return pool; + } + + @JsonProperty("pool") + public void setPool(String pool) { + this.pool = pool; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVRSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVRSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public PrometheusSpecVRbdBuilder edit() { + return new PrometheusSpecVRbdBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVRbdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSISecretRef.java new file mode 100644 index 00000000000..79ce1d0fd54 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVSISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVSISecretRef() { + } + + public PrometheusSpecVSISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVSISecretRefBuilder edit() { + return new PrometheusSpecVSISecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVSISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSSecretRef.java new file mode 100644 index 00000000000..efd05a6782b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVSSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVSSecretRef() { + } + + public PrometheusSpecVSSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PrometheusSpecVSSecretRefBuilder edit() { + return new PrometheusSpecVSSecretRefBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVSSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVScaleIO.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVScaleIO.java new file mode 100644 index 00000000000..4b535c7abd2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVScaleIO.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "gateway", + "protectionDomain", + "readOnly", + "secretRef", + "sslEnabled", + "storageMode", + "storagePool", + "system", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVScaleIO implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("gateway") + private String gateway; + @JsonProperty("protectionDomain") + private String protectionDomain; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVSISecretRef secretRef; + @JsonProperty("sslEnabled") + private Boolean sslEnabled; + @JsonProperty("storageMode") + private String storageMode; + @JsonProperty("storagePool") + private String storagePool; + @JsonProperty("system") + private String system; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVScaleIO() { + } + + public PrometheusSpecVScaleIO(String fsType, String gateway, String protectionDomain, Boolean readOnly, PrometheusSpecVSISecretRef secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) { + super(); + this.fsType = fsType; + this.gateway = gateway; + this.protectionDomain = protectionDomain; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.sslEnabled = sslEnabled; + this.storageMode = storageMode; + this.storagePool = storagePool; + this.system = system; + this.volumeName = volumeName; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("gateway") + public String getGateway() { + return gateway; + } + + @JsonProperty("gateway") + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @JsonProperty("protectionDomain") + public String getProtectionDomain() { + return protectionDomain; + } + + @JsonProperty("protectionDomain") + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVSISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVSISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("sslEnabled") + public Boolean getSslEnabled() { + return sslEnabled; + } + + @JsonProperty("sslEnabled") + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @JsonProperty("storageMode") + public String getStorageMode() { + return storageMode; + } + + @JsonProperty("storageMode") + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @JsonProperty("storagePool") + public String getStoragePool() { + return storagePool; + } + + @JsonProperty("storagePool") + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @JsonProperty("system") + public String getSystem() { + return system; + } + + @JsonProperty("system") + public void setSystem(String system) { + this.system = system; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public PrometheusSpecVScaleIOBuilder edit() { + return new PrometheusSpecVScaleIOBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVScaleIOBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSecret.java new file mode 100644 index 00000000000..8066c4fc51f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVSecret.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "optional", + "secretName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVSecret implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVSecret() { + } + + public PrometheusSpecVSecret(Integer defaultMode, List items, Boolean optional, String secretName) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.optional = optional; + this.secretName = secretName; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public PrometheusSpecVSecretBuilder edit() { + return new PrometheusSpecVSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVStorageos.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVStorageos.java new file mode 100644 index 00000000000..d6686b6f70d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVStorageos.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeName", + "volumeNamespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVStorageos implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private PrometheusSpecVSSecretRef secretRef; + @JsonProperty("volumeName") + private String volumeName; + @JsonProperty("volumeNamespace") + private String volumeNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVStorageos() { + } + + public PrometheusSpecVStorageos(String fsType, Boolean readOnly, PrometheusSpecVSSecretRef secretRef, String volumeName, String volumeNamespace) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeName = volumeName; + this.volumeNamespace = volumeNamespace; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public PrometheusSpecVSSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(PrometheusSpecVSSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonProperty("volumeNamespace") + public String getVolumeNamespace() { + return volumeNamespace; + } + + @JsonProperty("volumeNamespace") + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + @JsonIgnore + public PrometheusSpecVStorageosBuilder edit() { + return new PrometheusSpecVStorageosBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVStorageosBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVVsphereVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVVsphereVolume.java new file mode 100644 index 00000000000..696156f872f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVVsphereVolume.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "storagePolicyID", + "storagePolicyName", + "volumePath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVVsphereVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("storagePolicyID") + private String storagePolicyID; + @JsonProperty("storagePolicyName") + private String storagePolicyName; + @JsonProperty("volumePath") + private String volumePath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVVsphereVolume() { + } + + public PrometheusSpecVVsphereVolume(String fsType, String storagePolicyID, String storagePolicyName, String volumePath) { + super(); + this.fsType = fsType; + this.storagePolicyID = storagePolicyID; + this.storagePolicyName = storagePolicyName; + this.volumePath = volumePath; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("storagePolicyID") + public String getStoragePolicyID() { + return storagePolicyID; + } + + @JsonProperty("storagePolicyID") + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @JsonProperty("storagePolicyName") + public String getStoragePolicyName() { + return storagePolicyName; + } + + @JsonProperty("storagePolicyName") + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @JsonProperty("volumePath") + public String getVolumePath() { + return volumePath; + } + + @JsonProperty("volumePath") + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } + + @JsonIgnore + public PrometheusSpecVVsphereVolumeBuilder edit() { + return new PrometheusSpecVVsphereVolumeBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVVsphereVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumeMounts.java new file mode 100644 index 00000000000..2559d778f8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVolumeMounts() { + } + + public PrometheusSpecVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public PrometheusSpecVolumeMountsBuilder edit() { + return new PrometheusSpecVolumeMountsBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumes.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumes.java new file mode 100644 index 00000000000..439191a8e85 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecVolumes.java @@ -0,0 +1,514 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "awsElasticBlockStore", + "azureDisk", + "azureFile", + "cephfs", + "cinder", + "configMap", + "csi", + "downwardAPI", + "emptyDir", + "ephemeral", + "fc", + "flexVolume", + "flocker", + "gcePersistentDisk", + "gitRepo", + "glusterfs", + "hostPath", + "iscsi", + "name", + "nfs", + "persistentVolumeClaim", + "photonPersistentDisk", + "portworxVolume", + "projected", + "quobyte", + "rbd", + "scaleIO", + "secret", + "storageos", + "vsphereVolume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecVolumes implements Editable , KubernetesResource +{ + + @JsonProperty("awsElasticBlockStore") + private PrometheusSpecVAwsElasticBlockStore awsElasticBlockStore; + @JsonProperty("azureDisk") + private PrometheusSpecVAzureDisk azureDisk; + @JsonProperty("azureFile") + private PrometheusSpecVAzureFile azureFile; + @JsonProperty("cephfs") + private PrometheusSpecVCephfs cephfs; + @JsonProperty("cinder") + private PrometheusSpecVCinder cinder; + @JsonProperty("configMap") + private PrometheusSpecVConfigMap configMap; + @JsonProperty("csi") + private PrometheusSpecVCsi csi; + @JsonProperty("downwardAPI") + private PrometheusSpecVDownwardAPI downwardAPI; + @JsonProperty("emptyDir") + private PrometheusSpecVEmptyDir emptyDir; + @JsonProperty("ephemeral") + private PrometheusSpecVEphemeral ephemeral; + @JsonProperty("fc") + private PrometheusSpecVFc fc; + @JsonProperty("flexVolume") + private PrometheusSpecVFlexVolume flexVolume; + @JsonProperty("flocker") + private PrometheusSpecVFlocker flocker; + @JsonProperty("gcePersistentDisk") + private PrometheusSpecVGcePersistentDisk gcePersistentDisk; + @JsonProperty("gitRepo") + private PrometheusSpecVGitRepo gitRepo; + @JsonProperty("glusterfs") + private PrometheusSpecVGlusterfs glusterfs; + @JsonProperty("hostPath") + private PrometheusSpecVHostPath hostPath; + @JsonProperty("iscsi") + private PrometheusSpecVIscsi iscsi; + @JsonProperty("name") + private String name; + @JsonProperty("nfs") + private PrometheusSpecVNfs nfs; + @JsonProperty("persistentVolumeClaim") + private PrometheusSpecVPersistentVolumeClaim persistentVolumeClaim; + @JsonProperty("photonPersistentDisk") + private PrometheusSpecVPhotonPersistentDisk photonPersistentDisk; + @JsonProperty("portworxVolume") + private PrometheusSpecVPortworxVolume portworxVolume; + @JsonProperty("projected") + private PrometheusSpecVProjected projected; + @JsonProperty("quobyte") + private PrometheusSpecVQuobyte quobyte; + @JsonProperty("rbd") + private PrometheusSpecVRbd rbd; + @JsonProperty("scaleIO") + private PrometheusSpecVScaleIO scaleIO; + @JsonProperty("secret") + private PrometheusSpecVSecret secret; + @JsonProperty("storageos") + private PrometheusSpecVStorageos storageos; + @JsonProperty("vsphereVolume") + private PrometheusSpecVVsphereVolume vsphereVolume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecVolumes() { + } + + public PrometheusSpecVolumes(PrometheusSpecVAwsElasticBlockStore awsElasticBlockStore, PrometheusSpecVAzureDisk azureDisk, PrometheusSpecVAzureFile azureFile, PrometheusSpecVCephfs cephfs, PrometheusSpecVCinder cinder, PrometheusSpecVConfigMap configMap, PrometheusSpecVCsi csi, PrometheusSpecVDownwardAPI downwardAPI, PrometheusSpecVEmptyDir emptyDir, PrometheusSpecVEphemeral ephemeral, PrometheusSpecVFc fc, PrometheusSpecVFlexVolume flexVolume, PrometheusSpecVFlocker flocker, PrometheusSpecVGcePersistentDisk gcePersistentDisk, PrometheusSpecVGitRepo gitRepo, PrometheusSpecVGlusterfs glusterfs, PrometheusSpecVHostPath hostPath, PrometheusSpecVIscsi iscsi, String name, PrometheusSpecVNfs nfs, PrometheusSpecVPersistentVolumeClaim persistentVolumeClaim, PrometheusSpecVPhotonPersistentDisk photonPersistentDisk, PrometheusSpecVPortworxVolume portworxVolume, PrometheusSpecVProjected projected, PrometheusSpecVQuobyte quobyte, PrometheusSpecVRbd rbd, PrometheusSpecVScaleIO scaleIO, PrometheusSpecVSecret secret, PrometheusSpecVStorageos storageos, PrometheusSpecVVsphereVolume vsphereVolume) { + super(); + this.awsElasticBlockStore = awsElasticBlockStore; + this.azureDisk = azureDisk; + this.azureFile = azureFile; + this.cephfs = cephfs; + this.cinder = cinder; + this.configMap = configMap; + this.csi = csi; + this.downwardAPI = downwardAPI; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.fc = fc; + this.flexVolume = flexVolume; + this.flocker = flocker; + this.gcePersistentDisk = gcePersistentDisk; + this.gitRepo = gitRepo; + this.glusterfs = glusterfs; + this.hostPath = hostPath; + this.iscsi = iscsi; + this.name = name; + this.nfs = nfs; + this.persistentVolumeClaim = persistentVolumeClaim; + this.photonPersistentDisk = photonPersistentDisk; + this.portworxVolume = portworxVolume; + this.projected = projected; + this.quobyte = quobyte; + this.rbd = rbd; + this.scaleIO = scaleIO; + this.secret = secret; + this.storageos = storageos; + this.vsphereVolume = vsphereVolume; + } + + @JsonProperty("awsElasticBlockStore") + public PrometheusSpecVAwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + @JsonProperty("awsElasticBlockStore") + public void setAwsElasticBlockStore(PrometheusSpecVAwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @JsonProperty("azureDisk") + public PrometheusSpecVAzureDisk getAzureDisk() { + return azureDisk; + } + + @JsonProperty("azureDisk") + public void setAzureDisk(PrometheusSpecVAzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @JsonProperty("azureFile") + public PrometheusSpecVAzureFile getAzureFile() { + return azureFile; + } + + @JsonProperty("azureFile") + public void setAzureFile(PrometheusSpecVAzureFile azureFile) { + this.azureFile = azureFile; + } + + @JsonProperty("cephfs") + public PrometheusSpecVCephfs getCephfs() { + return cephfs; + } + + @JsonProperty("cephfs") + public void setCephfs(PrometheusSpecVCephfs cephfs) { + this.cephfs = cephfs; + } + + @JsonProperty("cinder") + public PrometheusSpecVCinder getCinder() { + return cinder; + } + + @JsonProperty("cinder") + public void setCinder(PrometheusSpecVCinder cinder) { + this.cinder = cinder; + } + + @JsonProperty("configMap") + public PrometheusSpecVConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecVConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("csi") + public PrometheusSpecVCsi getCsi() { + return csi; + } + + @JsonProperty("csi") + public void setCsi(PrometheusSpecVCsi csi) { + this.csi = csi; + } + + @JsonProperty("downwardAPI") + public PrometheusSpecVDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(PrometheusSpecVDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("emptyDir") + public PrometheusSpecVEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(PrometheusSpecVEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public PrometheusSpecVEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(PrometheusSpecVEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("fc") + public PrometheusSpecVFc getFc() { + return fc; + } + + @JsonProperty("fc") + public void setFc(PrometheusSpecVFc fc) { + this.fc = fc; + } + + @JsonProperty("flexVolume") + public PrometheusSpecVFlexVolume getFlexVolume() { + return flexVolume; + } + + @JsonProperty("flexVolume") + public void setFlexVolume(PrometheusSpecVFlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @JsonProperty("flocker") + public PrometheusSpecVFlocker getFlocker() { + return flocker; + } + + @JsonProperty("flocker") + public void setFlocker(PrometheusSpecVFlocker flocker) { + this.flocker = flocker; + } + + @JsonProperty("gcePersistentDisk") + public PrometheusSpecVGcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + @JsonProperty("gcePersistentDisk") + public void setGcePersistentDisk(PrometheusSpecVGcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @JsonProperty("gitRepo") + public PrometheusSpecVGitRepo getGitRepo() { + return gitRepo; + } + + @JsonProperty("gitRepo") + public void setGitRepo(PrometheusSpecVGitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @JsonProperty("glusterfs") + public PrometheusSpecVGlusterfs getGlusterfs() { + return glusterfs; + } + + @JsonProperty("glusterfs") + public void setGlusterfs(PrometheusSpecVGlusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @JsonProperty("hostPath") + public PrometheusSpecVHostPath getHostPath() { + return hostPath; + } + + @JsonProperty("hostPath") + public void setHostPath(PrometheusSpecVHostPath hostPath) { + this.hostPath = hostPath; + } + + @JsonProperty("iscsi") + public PrometheusSpecVIscsi getIscsi() { + return iscsi; + } + + @JsonProperty("iscsi") + public void setIscsi(PrometheusSpecVIscsi iscsi) { + this.iscsi = iscsi; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("nfs") + public PrometheusSpecVNfs getNfs() { + return nfs; + } + + @JsonProperty("nfs") + public void setNfs(PrometheusSpecVNfs nfs) { + this.nfs = nfs; + } + + @JsonProperty("persistentVolumeClaim") + public PrometheusSpecVPersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + @JsonProperty("persistentVolumeClaim") + public void setPersistentVolumeClaim(PrometheusSpecVPersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @JsonProperty("photonPersistentDisk") + public PrometheusSpecVPhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + @JsonProperty("photonPersistentDisk") + public void setPhotonPersistentDisk(PrometheusSpecVPhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @JsonProperty("portworxVolume") + public PrometheusSpecVPortworxVolume getPortworxVolume() { + return portworxVolume; + } + + @JsonProperty("portworxVolume") + public void setPortworxVolume(PrometheusSpecVPortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @JsonProperty("projected") + public PrometheusSpecVProjected getProjected() { + return projected; + } + + @JsonProperty("projected") + public void setProjected(PrometheusSpecVProjected projected) { + this.projected = projected; + } + + @JsonProperty("quobyte") + public PrometheusSpecVQuobyte getQuobyte() { + return quobyte; + } + + @JsonProperty("quobyte") + public void setQuobyte(PrometheusSpecVQuobyte quobyte) { + this.quobyte = quobyte; + } + + @JsonProperty("rbd") + public PrometheusSpecVRbd getRbd() { + return rbd; + } + + @JsonProperty("rbd") + public void setRbd(PrometheusSpecVRbd rbd) { + this.rbd = rbd; + } + + @JsonProperty("scaleIO") + public PrometheusSpecVScaleIO getScaleIO() { + return scaleIO; + } + + @JsonProperty("scaleIO") + public void setScaleIO(PrometheusSpecVScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @JsonProperty("secret") + public PrometheusSpecVSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecVSecret secret) { + this.secret = secret; + } + + @JsonProperty("storageos") + public PrometheusSpecVStorageos getStorageos() { + return storageos; + } + + @JsonProperty("storageos") + public void setStorageos(PrometheusSpecVStorageos storageos) { + this.storageos = storageos; + } + + @JsonProperty("vsphereVolume") + public PrometheusSpecVVsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + @JsonProperty("vsphereVolume") + public void setVsphereVolume(PrometheusSpecVVsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } + + @JsonIgnore + public PrometheusSpecVolumesBuilder edit() { + return new PrometheusSpecVolumesBuilder(this); + } + + @JsonIgnore + public PrometheusSpecVolumesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPHeaders.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHCHeaders.java similarity index 91% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPHeaders.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHCHeaders.java index 61f742f4aa1..f88da69440b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPHeaders.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHCHeaders.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebHTTPHeaders implements Editable , KubernetesResource +public class PrometheusSpecWHCHeaders implements Editable , KubernetesResource { @JsonProperty("contentSecurityPolicy") @@ -75,10 +75,10 @@ public class WebHTTPHeaders implements Editable , Kuberne * No args constructor for use in serialization * */ - public WebHTTPHeaders() { + public PrometheusSpecWHCHeaders() { } - public WebHTTPHeaders(String contentSecurityPolicy, String strictTransportSecurity, String xContentTypeOptions, String xFrameOptions, String xXSSProtection) { + public PrometheusSpecWHCHeaders(String contentSecurityPolicy, String strictTransportSecurity, String xContentTypeOptions, String xFrameOptions, String xXSSProtection) { super(); this.contentSecurityPolicy = contentSecurityPolicy; this.strictTransportSecurity = strictTransportSecurity; @@ -138,12 +138,12 @@ public void setXXSSProtection(String xXSSProtection) { } @JsonIgnore - public WebHTTPHeadersBuilder edit() { - return new WebHTTPHeadersBuilder(this); + public PrometheusSpecWHCHeadersBuilder edit() { + return new PrometheusSpecWHCHeadersBuilder(this); } @JsonIgnore - public WebHTTPHeadersBuilder toBuilder() { + public PrometheusSpecWHCHeadersBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHttpConfig.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHttpConfig.java index dda9f96cb29..99a686ab7c9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebHTTPConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWHttpConfig.java @@ -52,11 +52,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebHTTPConfig implements Editable , KubernetesResource +public class PrometheusSpecWHttpConfig implements Editable , KubernetesResource { @JsonProperty("headers") - private WebHTTPHeaders headers; + private PrometheusSpecWHCHeaders headers; @JsonProperty("http2") private Boolean http2; @JsonIgnore @@ -66,22 +66,22 @@ public class WebHTTPConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public WebHTTPConfig() { + public PrometheusSpecWHttpConfig() { } - public WebHTTPConfig(WebHTTPHeaders headers, Boolean http2) { + public PrometheusSpecWHttpConfig(PrometheusSpecWHCHeaders headers, Boolean http2) { super(); this.headers = headers; this.http2 = http2; } @JsonProperty("headers") - public WebHTTPHeaders getHeaders() { + public PrometheusSpecWHCHeaders getHeaders() { return headers; } @JsonProperty("headers") - public void setHeaders(WebHTTPHeaders headers) { + public void setHeaders(PrometheusSpecWHCHeaders headers) { this.headers = headers; } @@ -96,12 +96,12 @@ public void setHttp2(Boolean http2) { } @JsonIgnore - public WebHTTPConfigBuilder edit() { - return new WebHTTPConfigBuilder(this); + public PrometheusSpecWHttpConfigBuilder edit() { + return new PrometheusSpecWHttpConfigBuilder(this); } @JsonIgnore - public WebHTTPConfigBuilder toBuilder() { + public PrometheusSpecWHttpConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap.java new file mode 100644 index 00000000000..06409800d72 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCCConfigMap() { + } + + public PrometheusSpecWTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecWTCCConfigMapBuilder edit() { + return new PrometheusSpecWTCCConfigMapBuilder(this); + } + + @JsonIgnore + public PrometheusSpecWTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap_1.java new file mode 100644 index 00000000000..9aeb4a9d998 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCCConfigMap_1() { + } + + public PrometheusSpecWTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecWTCCConfigMap_1Builder edit() { + return new PrometheusSpecWTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecWTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret.java new file mode 100644 index 00000000000..1ee8b6e877f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCCSecret() { + } + + public PrometheusSpecWTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecWTCCSecretBuilder edit() { + return new PrometheusSpecWTCCSecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecWTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret_1.java new file mode 100644 index 00000000000..22f9d8525ab --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCCSecret_1() { + } + + public PrometheusSpecWTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecWTCCSecret_1Builder edit() { + return new PrometheusSpecWTCCSecret_1Builder(this); + } + + @JsonIgnore + public PrometheusSpecWTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCert.java new file mode 100644 index 00000000000..23e2b97e21f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecWTCCConfigMap configMap; + @JsonProperty("secret") + private PrometheusSpecWTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCCert() { + } + + public PrometheusSpecWTCCert(PrometheusSpecWTCCConfigMap configMap, PrometheusSpecWTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecWTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecWTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecWTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecWTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecWTCCertBuilder edit() { + return new PrometheusSpecWTCCertBuilder(this); + } + + @JsonIgnore + public PrometheusSpecWTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCClient_ca.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCClient_ca.java new file mode 100644 index 00000000000..86b75440db4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCClient_ca.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCClient_ca implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private PrometheusSpecWTCCConfigMap_1 configMap; + @JsonProperty("secret") + private PrometheusSpecWTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCClient_ca() { + } + + public PrometheusSpecWTCClient_ca(PrometheusSpecWTCCConfigMap_1 configMap, PrometheusSpecWTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public PrometheusSpecWTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(PrometheusSpecWTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public PrometheusSpecWTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(PrometheusSpecWTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public PrometheusSpecWTCClient_caBuilder edit() { + return new PrometheusSpecWTCClient_caBuilder(this); + } + + @JsonIgnore + public PrometheusSpecWTCClient_caBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCKeySecret.java new file mode 100644 index 00000000000..37230f1ff2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PrometheusSpecWTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PrometheusSpecWTCKeySecret() { + } + + public PrometheusSpecWTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public PrometheusSpecWTCKeySecretBuilder edit() { + return new PrometheusSpecWTCKeySecretBuilder(this); + } + + @JsonIgnore + public PrometheusSpecWTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTlsConfig.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTlsConfig.java index 224ecc59a97..28f49050cb6 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/WebTLSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWTlsConfig.java @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,23 +61,23 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebTLSConfig implements Editable , KubernetesResource +public class PrometheusSpecWTlsConfig implements Editable , KubernetesResource { @JsonProperty("cert") - private SecretOrConfigMap cert; + private PrometheusSpecWTCCert cert; @JsonProperty("cipherSuites") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List cipherSuites = new ArrayList<>(); @JsonProperty("clientAuthType") private String clientAuthType; @JsonProperty("client_ca") - private SecretOrConfigMap clientCa; + private PrometheusSpecWTCClient_ca client_ca; @JsonProperty("curvePreferences") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List curvePreferences = new ArrayList<>(); @JsonProperty("keySecret") - private SecretKeySelector keySecret; + private PrometheusSpecWTCKeySecret keySecret; @JsonProperty("maxVersion") private String maxVersion; @JsonProperty("minVersion") @@ -92,15 +91,15 @@ public class WebTLSConfig implements Editable , KubernetesR * No args constructor for use in serialization * */ - public WebTLSConfig() { + public PrometheusSpecWTlsConfig() { } - public WebTLSConfig(SecretOrConfigMap cert, List cipherSuites, String clientAuthType, SecretOrConfigMap clientCa, List curvePreferences, SecretKeySelector keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites) { + public PrometheusSpecWTlsConfig(PrometheusSpecWTCCert cert, List cipherSuites, String clientAuthType, PrometheusSpecWTCClient_ca client_ca, List curvePreferences, PrometheusSpecWTCKeySecret keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites) { super(); this.cert = cert; this.cipherSuites = cipherSuites; this.clientAuthType = clientAuthType; - this.clientCa = clientCa; + this.client_ca = client_ca; this.curvePreferences = curvePreferences; this.keySecret = keySecret; this.maxVersion = maxVersion; @@ -109,12 +108,12 @@ public WebTLSConfig(SecretOrConfigMap cert, List cipherSuites, String cl } @JsonProperty("cert") - public SecretOrConfigMap getCert() { + public PrometheusSpecWTCCert getCert() { return cert; } @JsonProperty("cert") - public void setCert(SecretOrConfigMap cert) { + public void setCert(PrometheusSpecWTCCert cert) { this.cert = cert; } @@ -140,13 +139,13 @@ public void setClientAuthType(String clientAuthType) { } @JsonProperty("client_ca") - public SecretOrConfigMap getClientCa() { - return clientCa; + public PrometheusSpecWTCClient_ca getClient_ca() { + return client_ca; } @JsonProperty("client_ca") - public void setClientCa(SecretOrConfigMap clientCa) { - this.clientCa = clientCa; + public void setClient_ca(PrometheusSpecWTCClient_ca client_ca) { + this.client_ca = client_ca; } @JsonProperty("curvePreferences") @@ -161,12 +160,12 @@ public void setCurvePreferences(List curvePreferences) { } @JsonProperty("keySecret") - public SecretKeySelector getKeySecret() { + public PrometheusSpecWTCKeySecret getKeySecret() { return keySecret; } @JsonProperty("keySecret") - public void setKeySecret(SecretKeySelector keySecret) { + public void setKeySecret(PrometheusSpecWTCKeySecret keySecret) { this.keySecret = keySecret; } @@ -201,12 +200,12 @@ public void setPreferServerCipherSuites(Boolean preferServerCipherSuites) { } @JsonIgnore - public WebTLSConfigBuilder edit() { - return new WebTLSConfigBuilder(this); + public PrometheusSpecWTlsConfigBuilder edit() { + return new PrometheusSpecWTlsConfigBuilder(this); } @JsonIgnore - public WebTLSConfigBuilder toBuilder() { + public PrometheusSpecWTlsConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusWebSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWeb.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusWebSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWeb.java index 59391ded2ec..5df1f57e0be 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusWebSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusSpecWeb.java @@ -54,17 +54,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PrometheusWebSpec implements Editable , KubernetesResource +public class PrometheusSpecWeb implements Editable , KubernetesResource { @JsonProperty("httpConfig") - private WebHTTPConfig httpConfig; + private PrometheusSpecWHttpConfig httpConfig; @JsonProperty("maxConnections") private Integer maxConnections; @JsonProperty("pageTitle") private String pageTitle; @JsonProperty("tlsConfig") - private WebTLSConfig tlsConfig; + private PrometheusSpecWTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -72,10 +72,10 @@ public class PrometheusWebSpec implements Editable , K * No args constructor for use in serialization * */ - public PrometheusWebSpec() { + public PrometheusSpecWeb() { } - public PrometheusWebSpec(WebHTTPConfig httpConfig, Integer maxConnections, String pageTitle, WebTLSConfig tlsConfig) { + public PrometheusSpecWeb(PrometheusSpecWHttpConfig httpConfig, Integer maxConnections, String pageTitle, PrometheusSpecWTlsConfig tlsConfig) { super(); this.httpConfig = httpConfig; this.maxConnections = maxConnections; @@ -84,12 +84,12 @@ public PrometheusWebSpec(WebHTTPConfig httpConfig, Integer maxConnections, Strin } @JsonProperty("httpConfig") - public WebHTTPConfig getHttpConfig() { + public PrometheusSpecWHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(WebHTTPConfig httpConfig) { + public void setHttpConfig(PrometheusSpecWHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -114,22 +114,22 @@ public void setPageTitle(String pageTitle) { } @JsonProperty("tlsConfig") - public WebTLSConfig getTlsConfig() { + public PrometheusSpecWTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(WebTLSConfig tlsConfig) { + public void setTlsConfig(PrometheusSpecWTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public PrometheusWebSpecBuilder edit() { - return new PrometheusWebSpecBuilder(this); + public PrometheusSpecWebBuilder edit() { + return new PrometheusSpecWebBuilder(this); } @JsonIgnore - public PrometheusWebSpecBuilder toBuilder() { + public PrometheusSpecWebBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java index 83782caf526..e76361df411 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatus.java @@ -37,7 +37,9 @@ "conditions", "paused", "replicas", + "selector", "shardStatuses", + "shards", "unavailableReplicas", "updatedReplicas" }) @@ -66,14 +68,18 @@ public class PrometheusStatus implements Editable , Kub private Integer availableReplicas; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("paused") private Boolean paused; @JsonProperty("replicas") private Integer replicas; + @JsonProperty("selector") + private String selector; @JsonProperty("shardStatuses") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List shardStatuses = new ArrayList<>(); + private List shardStatuses = new ArrayList<>(); + @JsonProperty("shards") + private Integer shards; @JsonProperty("unavailableReplicas") private Integer unavailableReplicas; @JsonProperty("updatedReplicas") @@ -88,13 +94,15 @@ public class PrometheusStatus implements Editable , Kub public PrometheusStatus() { } - public PrometheusStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, List shardStatuses, Integer unavailableReplicas, Integer updatedReplicas) { + public PrometheusStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, String selector, List shardStatuses, Integer shards, Integer unavailableReplicas, Integer updatedReplicas) { super(); this.availableReplicas = availableReplicas; this.conditions = conditions; this.paused = paused; this.replicas = replicas; + this.selector = selector; this.shardStatuses = shardStatuses; + this.shards = shards; this.unavailableReplicas = unavailableReplicas; this.updatedReplicas = updatedReplicas; } @@ -111,12 +119,12 @@ public void setAvailableReplicas(Integer availableReplicas) { @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getConditions() { + public List getConditions() { return conditions; } @JsonProperty("conditions") - public void setConditions(List conditions) { + public void setConditions(List conditions) { this.conditions = conditions; } @@ -140,17 +148,37 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonProperty("selector") + public String getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(String selector) { + this.selector = selector; + } + @JsonProperty("shardStatuses") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getShardStatuses() { + public List getShardStatuses() { return shardStatuses; } @JsonProperty("shardStatuses") - public void setShardStatuses(List shardStatuses) { + public void setShardStatuses(List shardStatuses) { this.shardStatuses = shardStatuses; } + @JsonProperty("shards") + public Integer getShards() { + return shards; + } + + @JsonProperty("shards") + public void setShards(Integer shards) { + this.shards = shards; + } + @JsonProperty("unavailableReplicas") public Integer getUnavailableReplicas() { return unavailableReplicas; diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Condition.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusConditions.java similarity index 91% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Condition.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusConditions.java index 3e1b441351e..06cfee33689 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Condition.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusConditions.java @@ -56,7 +56,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Condition implements Editable , KubernetesResource +public class PrometheusStatusConditions implements Editable , KubernetesResource { @JsonProperty("lastTransitionTime") @@ -78,10 +78,10 @@ public class Condition implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public Condition() { + public PrometheusStatusConditions() { } - public Condition(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) { + public PrometheusStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) { super(); this.lastTransitionTime = lastTransitionTime; this.message = message; @@ -152,12 +152,12 @@ public void setType(String type) { } @JsonIgnore - public ConditionBuilder edit() { - return new ConditionBuilder(this); + public PrometheusStatusConditionsBuilder edit() { + return new PrometheusStatusConditionsBuilder(this); } @JsonIgnore - public ConditionBuilder toBuilder() { + public PrometheusStatusConditionsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusShardStatuses.java similarity index 90% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusShardStatuses.java index 2d547364b0d..a4f5151e90e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ShardStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/PrometheusStatusShardStatuses.java @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class ShardStatus implements Editable , KubernetesResource +public class PrometheusStatusShardStatuses implements Editable , KubernetesResource { @JsonProperty("availableReplicas") @@ -75,10 +75,10 @@ public class ShardStatus implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public ShardStatus() { + public PrometheusStatusShardStatuses() { } - public ShardStatus(Integer availableReplicas, Integer replicas, String shardID, Integer unavailableReplicas, Integer updatedReplicas) { + public PrometheusStatusShardStatuses(Integer availableReplicas, Integer replicas, String shardID, Integer unavailableReplicas, Integer updatedReplicas) { super(); this.availableReplicas = availableReplicas; this.replicas = replicas; @@ -138,12 +138,12 @@ public void setUpdatedReplicas(Integer updatedReplicas) { } @JsonIgnore - public ShardStatusBuilder edit() { - return new ShardStatusBuilder(this); + public PrometheusStatusShardStatusesBuilder edit() { + return new PrometheusStatusShardStatusesBuilder(this); } @JsonIgnore - public ShardStatusBuilder toBuilder() { + public PrometheusStatusShardStatusesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java index 2fa5184fd66..db7ffb121f7 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitor.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -47,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -81,7 +82,7 @@ public class ServiceMonitor implements Editable , HasMeta @JsonProperty("kind") private String kind = "ServiceMonitor"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ServiceMonitorSpec spec; @JsonIgnore @@ -94,7 +95,7 @@ public class ServiceMonitor implements Editable , HasMeta public ServiceMonitor() { } - public ServiceMonitor(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ServiceMonitorSpec spec) { + public ServiceMonitor(String apiVersion, String kind, ObjectMeta metadata, ServiceMonitorSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -143,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java index ac06fabaa61..e682a4645e9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpec.java @@ -17,6 +17,7 @@ import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -33,6 +34,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "attachMetadata", + "bodySizeLimit", "endpoints", "jobLabel", "keepDroppedTargets", @@ -42,6 +44,8 @@ "namespaceSelector", "podTargetLabels", "sampleLimit", + "scrapeClass", + "scrapeProtocols", "selector", "targetLabels", "targetLimit" @@ -54,7 +58,7 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @@ -68,10 +72,12 @@ public class ServiceMonitorSpec implements Editable , { @JsonProperty("attachMetadata") - private AttachMetadata attachMetadata; + private ServiceMonitorSpecAttachMetadata attachMetadata; + @JsonProperty("bodySizeLimit") + private String bodySizeLimit; @JsonProperty("endpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List endpoints = new ArrayList<>(); + private List endpoints = new ArrayList<>(); @JsonProperty("jobLabel") private String jobLabel; @JsonProperty("keepDroppedTargets") @@ -83,14 +89,19 @@ public class ServiceMonitorSpec implements Editable , @JsonProperty("labelValueLengthLimit") private Long labelValueLengthLimit; @JsonProperty("namespaceSelector") - private NamespaceSelector namespaceSelector; + private ServiceMonitorSpecNamespaceSelector namespaceSelector; @JsonProperty("podTargetLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List podTargetLabels = new ArrayList<>(); @JsonProperty("sampleLimit") private Long sampleLimit; + @JsonProperty("scrapeClass") + private String scrapeClass; + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scrapeProtocols = new ArrayList<>(); @JsonProperty("selector") - private io.fabric8.kubernetes.api.model.LabelSelector selector; + private ServiceMonitorSpecSelector selector; @JsonProperty("targetLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List targetLabels = new ArrayList<>(); @@ -106,9 +117,10 @@ public class ServiceMonitorSpec implements Editable , public ServiceMonitorSpec() { } - public ServiceMonitorSpec(AttachMetadata attachMetadata, List endpoints, String jobLabel, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, NamespaceSelector namespaceSelector, List podTargetLabels, Long sampleLimit, io.fabric8.kubernetes.api.model.LabelSelector selector, List targetLabels, Long targetLimit) { + public ServiceMonitorSpec(ServiceMonitorSpecAttachMetadata attachMetadata, String bodySizeLimit, List endpoints, String jobLabel, Long keepDroppedTargets, Long labelLimit, Long labelNameLengthLimit, Long labelValueLengthLimit, ServiceMonitorSpecNamespaceSelector namespaceSelector, List podTargetLabels, Long sampleLimit, String scrapeClass, List scrapeProtocols, ServiceMonitorSpecSelector selector, List targetLabels, Long targetLimit) { super(); this.attachMetadata = attachMetadata; + this.bodySizeLimit = bodySizeLimit; this.endpoints = endpoints; this.jobLabel = jobLabel; this.keepDroppedTargets = keepDroppedTargets; @@ -118,29 +130,41 @@ public ServiceMonitorSpec(AttachMetadata attachMetadata, List endpoint this.namespaceSelector = namespaceSelector; this.podTargetLabels = podTargetLabels; this.sampleLimit = sampleLimit; + this.scrapeClass = scrapeClass; + this.scrapeProtocols = scrapeProtocols; this.selector = selector; this.targetLabels = targetLabels; this.targetLimit = targetLimit; } @JsonProperty("attachMetadata") - public AttachMetadata getAttachMetadata() { + public ServiceMonitorSpecAttachMetadata getAttachMetadata() { return attachMetadata; } @JsonProperty("attachMetadata") - public void setAttachMetadata(AttachMetadata attachMetadata) { + public void setAttachMetadata(ServiceMonitorSpecAttachMetadata attachMetadata) { this.attachMetadata = attachMetadata; } + @JsonProperty("bodySizeLimit") + public String getBodySizeLimit() { + return bodySizeLimit; + } + + @JsonProperty("bodySizeLimit") + public void setBodySizeLimit(String bodySizeLimit) { + this.bodySizeLimit = bodySizeLimit; + } + @JsonProperty("endpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEndpoints() { + public List getEndpoints() { return endpoints; } @JsonProperty("endpoints") - public void setEndpoints(List endpoints) { + public void setEndpoints(List endpoints) { this.endpoints = endpoints; } @@ -195,12 +219,12 @@ public void setLabelValueLengthLimit(Long labelValueLengthLimit) { } @JsonProperty("namespaceSelector") - public NamespaceSelector getNamespaceSelector() { + public ServiceMonitorSpecNamespaceSelector getNamespaceSelector() { return namespaceSelector; } @JsonProperty("namespaceSelector") - public void setNamespaceSelector(NamespaceSelector namespaceSelector) { + public void setNamespaceSelector(ServiceMonitorSpecNamespaceSelector namespaceSelector) { this.namespaceSelector = namespaceSelector; } @@ -225,13 +249,34 @@ public void setSampleLimit(Long sampleLimit) { this.sampleLimit = sampleLimit; } + @JsonProperty("scrapeClass") + public String getScrapeClass() { + return scrapeClass; + } + + @JsonProperty("scrapeClass") + public void setScrapeClass(String scrapeClass) { + this.scrapeClass = scrapeClass; + } + + @JsonProperty("scrapeProtocols") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScrapeProtocols() { + return scrapeProtocols; + } + + @JsonProperty("scrapeProtocols") + public void setScrapeProtocols(List scrapeProtocols) { + this.scrapeProtocols = scrapeProtocols; + } + @JsonProperty("selector") - public io.fabric8.kubernetes.api.model.LabelSelector getSelector() { + public ServiceMonitorSpecSelector getSelector() { return selector; } @JsonProperty("selector") - public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) { + public void setSelector(ServiceMonitorSpecSelector selector) { this.selector = selector; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecAttachMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecAttachMetadata.java new file mode 100644 index 00000000000..ad39a7fdcc4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecAttachMetadata.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "node" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecAttachMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("node") + private Boolean node; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecAttachMetadata() { + } + + public ServiceMonitorSpecAttachMetadata(Boolean node) { + super(); + this.node = node; + } + + @JsonProperty("node") + public Boolean getNode() { + return node; + } + + @JsonProperty("node") + public void setNode(Boolean node) { + this.node = node; + } + + @JsonIgnore + public ServiceMonitorSpecAttachMetadataBuilder edit() { + return new ServiceMonitorSpecAttachMetadataBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecAttachMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEACredentials.java new file mode 100644 index 00000000000..2f9fabe6185 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEACredentials() { + } + + public ServiceMonitorSpecEACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEACredentialsBuilder edit() { + return new ServiceMonitorSpecEACredentialsBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEAuthorization.java new file mode 100644 index 00000000000..c86e635aeef --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private ServiceMonitorSpecEACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEAuthorization() { + } + + public ServiceMonitorSpecEAuthorization(ServiceMonitorSpecEACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public ServiceMonitorSpecEACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(ServiceMonitorSpecEACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ServiceMonitorSpecEAuthorizationBuilder edit() { + return new ServiceMonitorSpecEAuthorizationBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuth.java new file mode 100644 index 00000000000..0d4684601b7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private ServiceMonitorSpecEBasicAuthPassword password; + @JsonProperty("username") + private ServiceMonitorSpecEBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEBasicAuth() { + } + + public ServiceMonitorSpecEBasicAuth(ServiceMonitorSpecEBasicAuthPassword password, ServiceMonitorSpecEBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public ServiceMonitorSpecEBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(ServiceMonitorSpecEBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public ServiceMonitorSpecEBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(ServiceMonitorSpecEBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthBuilder edit() { + return new ServiceMonitorSpecEBasicAuthBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthPassword.java new file mode 100644 index 00000000000..c6c44e0bd28 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEBasicAuthPassword() { + } + + public ServiceMonitorSpecEBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthPasswordBuilder edit() { + return new ServiceMonitorSpecEBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthUsername.java new file mode 100644 index 00000000000..29e53a3866d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEBasicAuthUsername() { + } + + public ServiceMonitorSpecEBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthUsernameBuilder edit() { + return new ServiceMonitorSpecEBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBearerTokenSecret.java new file mode 100644 index 00000000000..debbf20c261 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEBearerTokenSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEBearerTokenSecret() { + } + + public ServiceMonitorSpecEBearerTokenSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEBearerTokenSecretBuilder edit() { + return new ServiceMonitorSpecEBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEMetricRelabelings.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEMetricRelabelings.java new file mode 100644 index 00000000000..03baba34fa4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEMetricRelabelings.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEMetricRelabelings implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEMetricRelabelings() { + } + + public ServiceMonitorSpecEMetricRelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public ServiceMonitorSpecEMetricRelabelingsBuilder edit() { + return new ServiceMonitorSpecEMetricRelabelingsBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEMetricRelabelingsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCIConfigMap.java new file mode 100644 index 00000000000..cebf5525b48 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEOCIConfigMap() { + } + + public ServiceMonitorSpecEOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEOCIConfigMapBuilder edit() { + return new ServiceMonitorSpecEOCIConfigMapBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCISecret.java new file mode 100644 index 00000000000..5251c2f90d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEOCISecret() { + } + + public ServiceMonitorSpecEOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEOCISecretBuilder edit() { + return new ServiceMonitorSpecEOCISecretBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientId.java new file mode 100644 index 00000000000..d0c4539db81 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ServiceMonitorSpecEOCIConfigMap configMap; + @JsonProperty("secret") + private ServiceMonitorSpecEOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEOClientId() { + } + + public ServiceMonitorSpecEOClientId(ServiceMonitorSpecEOCIConfigMap configMap, ServiceMonitorSpecEOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ServiceMonitorSpecEOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ServiceMonitorSpecEOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ServiceMonitorSpecEOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ServiceMonitorSpecEOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ServiceMonitorSpecEOClientIdBuilder edit() { + return new ServiceMonitorSpecEOClientIdBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientSecret.java new file mode 100644 index 00000000000..e9dce2b38e9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEOClientSecret() { + } + + public ServiceMonitorSpecEOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecEOClientSecretBuilder edit() { + return new ServiceMonitorSpecEOClientSecretBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOauth2.java new file mode 100644 index 00000000000..d6e26e1f8fa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecEOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private ServiceMonitorSpecEOClientId clientId; + @JsonProperty("clientSecret") + private ServiceMonitorSpecEOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecEOauth2() { + } + + public ServiceMonitorSpecEOauth2(ServiceMonitorSpecEOClientId clientId, ServiceMonitorSpecEOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public ServiceMonitorSpecEOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(ServiceMonitorSpecEOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public ServiceMonitorSpecEOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(ServiceMonitorSpecEOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public ServiceMonitorSpecEOauth2Builder edit() { + return new ServiceMonitorSpecEOauth2Builder(this); + } + + @JsonIgnore + public ServiceMonitorSpecEOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecERelabelings.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecERelabelings.java new file mode 100644 index 00000000000..31f39549cfc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecERelabelings.java @@ -0,0 +1,196 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "action", + "modulus", + "regex", + "replacement", + "separator", + "sourceLabels", + "targetLabel" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecERelabelings implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("modulus") + private Long modulus; + @JsonProperty("regex") + private String regex; + @JsonProperty("replacement") + private String replacement; + @JsonProperty("separator") + private String separator; + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sourceLabels = new ArrayList<>(); + @JsonProperty("targetLabel") + private String targetLabel; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecERelabelings() { + } + + public ServiceMonitorSpecERelabelings(String action, Long modulus, String regex, String replacement, String separator, List sourceLabels, String targetLabel) { + super(); + this.action = action; + this.modulus = modulus; + this.regex = regex; + this.replacement = replacement; + this.separator = separator; + this.sourceLabels = sourceLabels; + this.targetLabel = targetLabel; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("modulus") + public Long getModulus() { + return modulus; + } + + @JsonProperty("modulus") + public void setModulus(Long modulus) { + this.modulus = modulus; + } + + @JsonProperty("regex") + public String getRegex() { + return regex; + } + + @JsonProperty("regex") + public void setRegex(String regex) { + this.regex = regex; + } + + @JsonProperty("replacement") + public String getReplacement() { + return replacement; + } + + @JsonProperty("replacement") + public void setReplacement(String replacement) { + this.replacement = replacement; + } + + @JsonProperty("separator") + public String getSeparator() { + return separator; + } + + @JsonProperty("separator") + public void setSeparator(String separator) { + this.separator = separator; + } + + @JsonProperty("sourceLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSourceLabels() { + return sourceLabels; + } + + @JsonProperty("sourceLabels") + public void setSourceLabels(List sourceLabels) { + this.sourceLabels = sourceLabels; + } + + @JsonProperty("targetLabel") + public String getTargetLabel() { + return targetLabel; + } + + @JsonProperty("targetLabel") + public void setTargetLabel(String targetLabel) { + this.targetLabel = targetLabel; + } + + @JsonIgnore + public ServiceMonitorSpecERelabelingsBuilder edit() { + return new ServiceMonitorSpecERelabelingsBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecERelabelingsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap.java new file mode 100644 index 00000000000..1ef610ebb4d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCConfigMap() { + } + + public ServiceMonitorSpecETCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecETCCConfigMapBuilder edit() { + return new ServiceMonitorSpecETCCConfigMapBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap_1.java new file mode 100644 index 00000000000..aceb85e66d7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCConfigMap_1() { + } + + public ServiceMonitorSpecETCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecETCCConfigMap_1Builder edit() { + return new ServiceMonitorSpecETCCConfigMap_1Builder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret.java new file mode 100644 index 00000000000..1b4291ba122 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCSecret() { + } + + public ServiceMonitorSpecETCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecETCCSecretBuilder edit() { + return new ServiceMonitorSpecETCCSecretBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret_1.java new file mode 100644 index 00000000000..69215d553fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCSecret_1() { + } + + public ServiceMonitorSpecETCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecETCCSecret_1Builder edit() { + return new ServiceMonitorSpecETCCSecret_1Builder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCa.java new file mode 100644 index 00000000000..524bc5ea604 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ServiceMonitorSpecETCCConfigMap configMap; + @JsonProperty("secret") + private ServiceMonitorSpecETCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCa() { + } + + public ServiceMonitorSpecETCCa(ServiceMonitorSpecETCCConfigMap configMap, ServiceMonitorSpecETCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ServiceMonitorSpecETCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ServiceMonitorSpecETCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ServiceMonitorSpecETCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ServiceMonitorSpecETCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ServiceMonitorSpecETCCaBuilder edit() { + return new ServiceMonitorSpecETCCaBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCert.java new file mode 100644 index 00000000000..8b9a83910d4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ServiceMonitorSpecETCCConfigMap_1 configMap; + @JsonProperty("secret") + private ServiceMonitorSpecETCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCCert() { + } + + public ServiceMonitorSpecETCCert(ServiceMonitorSpecETCCConfigMap_1 configMap, ServiceMonitorSpecETCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ServiceMonitorSpecETCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ServiceMonitorSpecETCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ServiceMonitorSpecETCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ServiceMonitorSpecETCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public ServiceMonitorSpecETCCertBuilder edit() { + return new ServiceMonitorSpecETCCertBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCKeySecret.java new file mode 100644 index 00000000000..f65a0e1b36c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETCKeySecret() { + } + + public ServiceMonitorSpecETCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ServiceMonitorSpecETCKeySecretBuilder edit() { + return new ServiceMonitorSpecETCKeySecretBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETlsConfig.java new file mode 100644 index 00000000000..554bf2599a1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecETlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecETlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private ServiceMonitorSpecETCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private ServiceMonitorSpecETCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private ServiceMonitorSpecETCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecETlsConfig() { + } + + public ServiceMonitorSpecETlsConfig(ServiceMonitorSpecETCCa ca, String caFile, ServiceMonitorSpecETCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, ServiceMonitorSpecETCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public ServiceMonitorSpecETCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(ServiceMonitorSpecETCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public ServiceMonitorSpecETCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(ServiceMonitorSpecETCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public ServiceMonitorSpecETCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(ServiceMonitorSpecETCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public ServiceMonitorSpecETlsConfigBuilder edit() { + return new ServiceMonitorSpecETlsConfigBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecETlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEndpoints.java similarity index 73% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEndpoints.java index 0876f73acff..a71a3f02c85 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/Endpoint.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecEndpoints.java @@ -15,6 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -23,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,7 +53,8 @@ "scheme", "scrapeTimeout", "targetPort", - "tlsConfig" + "tlsConfig", + "trackTimestampsStaleness" }) @ToString @EqualsAndHashCode @@ -67,23 +68,23 @@ @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), - @BuildableReference(io.fabric8.kubernetes.api.model.IntOrString.class), + @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Endpoint implements Editable , KubernetesResource +public class ServiceMonitorSpecEndpoints implements Editable , KubernetesResource { @JsonProperty("authorization") - private SafeAuthorization authorization; + private ServiceMonitorSpecEAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private ServiceMonitorSpecEBasicAuth basicAuth; @JsonProperty("bearerTokenFile") private String bearerTokenFile; @JsonProperty("bearerTokenSecret") - private SecretKeySelector bearerTokenSecret; + private ServiceMonitorSpecEBearerTokenSecret bearerTokenSecret; @JsonProperty("enableHttp2") private Boolean enableHttp2; @JsonProperty("filterRunning") @@ -98,9 +99,9 @@ public class Endpoint implements Editable , KubernetesResource private String interval; @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List metricRelabelings = new ArrayList<>(); + private List metricRelabelings = new ArrayList<>(); @JsonProperty("oauth2") - private OAuth2 oauth2; + private ServiceMonitorSpecEOauth2 oauth2; @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map> params = new LinkedHashMap<>(); @@ -112,15 +113,18 @@ public class Endpoint implements Editable , KubernetesResource private String proxyUrl; @JsonProperty("relabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List relabelings = new ArrayList<>(); + private List relabelings = new ArrayList<>(); @JsonProperty("scheme") private String scheme; @JsonProperty("scrapeTimeout") private String scrapeTimeout; @JsonProperty("targetPort") - private io.fabric8.kubernetes.api.model.IntOrString targetPort; + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object targetPort; @JsonProperty("tlsConfig") - private TLSConfig tlsConfig; + private ServiceMonitorSpecETlsConfig tlsConfig; + @JsonProperty("trackTimestampsStaleness") + private Boolean trackTimestampsStaleness; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -128,10 +132,10 @@ public class Endpoint implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Endpoint() { + public ServiceMonitorSpecEndpoints() { } - public Endpoint(SafeAuthorization authorization, BasicAuth basicAuth, String bearerTokenFile, SecretKeySelector bearerTokenSecret, Boolean enableHttp2, Boolean filterRunning, Boolean followRedirects, Boolean honorLabels, Boolean honorTimestamps, String interval, List metricRelabelings, OAuth2 oauth2, Map> params, String path, String port, String proxyUrl, List relabelings, String scheme, String scrapeTimeout, io.fabric8.kubernetes.api.model.IntOrString targetPort, TLSConfig tlsConfig) { + public ServiceMonitorSpecEndpoints(ServiceMonitorSpecEAuthorization authorization, ServiceMonitorSpecEBasicAuth basicAuth, String bearerTokenFile, ServiceMonitorSpecEBearerTokenSecret bearerTokenSecret, Boolean enableHttp2, Boolean filterRunning, Boolean followRedirects, Boolean honorLabels, Boolean honorTimestamps, String interval, List metricRelabelings, ServiceMonitorSpecEOauth2 oauth2, Map> params, String path, String port, String proxyUrl, List relabelings, String scheme, String scrapeTimeout, Object targetPort, ServiceMonitorSpecETlsConfig tlsConfig, Boolean trackTimestampsStaleness) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -154,25 +158,26 @@ public Endpoint(SafeAuthorization authorization, BasicAuth basicAuth, String bea this.scrapeTimeout = scrapeTimeout; this.targetPort = targetPort; this.tlsConfig = tlsConfig; + this.trackTimestampsStaleness = trackTimestampsStaleness; } @JsonProperty("authorization") - public SafeAuthorization getAuthorization() { + public ServiceMonitorSpecEAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(SafeAuthorization authorization) { + public void setAuthorization(ServiceMonitorSpecEAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public ServiceMonitorSpecEBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(ServiceMonitorSpecEBasicAuth basicAuth) { this.basicAuth = basicAuth; } @@ -187,12 +192,12 @@ public void setBearerTokenFile(String bearerTokenFile) { } @JsonProperty("bearerTokenSecret") - public SecretKeySelector getBearerTokenSecret() { + public ServiceMonitorSpecEBearerTokenSecret getBearerTokenSecret() { return bearerTokenSecret; } @JsonProperty("bearerTokenSecret") - public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) { + public void setBearerTokenSecret(ServiceMonitorSpecEBearerTokenSecret bearerTokenSecret) { this.bearerTokenSecret = bearerTokenSecret; } @@ -258,22 +263,22 @@ public void setInterval(String interval) { @JsonProperty("metricRelabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMetricRelabelings() { + public List getMetricRelabelings() { return metricRelabelings; } @JsonProperty("metricRelabelings") - public void setMetricRelabelings(List metricRelabelings) { + public void setMetricRelabelings(List metricRelabelings) { this.metricRelabelings = metricRelabelings; } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public ServiceMonitorSpecEOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(ServiceMonitorSpecEOauth2 oauth2) { this.oauth2 = oauth2; } @@ -320,12 +325,12 @@ public void setProxyUrl(String proxyUrl) { @JsonProperty("relabelings") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRelabelings() { + public List getRelabelings() { return relabelings; } @JsonProperty("relabelings") - public void setRelabelings(List relabelings) { + public void setRelabelings(List relabelings) { this.relabelings = relabelings; } @@ -350,32 +355,43 @@ public void setScrapeTimeout(String scrapeTimeout) { } @JsonProperty("targetPort") - public io.fabric8.kubernetes.api.model.IntOrString getTargetPort() { + public Object getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setTargetPort(Object targetPort) { this.targetPort = targetPort; } @JsonProperty("tlsConfig") - public TLSConfig getTlsConfig() { + public ServiceMonitorSpecETlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(TLSConfig tlsConfig) { + public void setTlsConfig(ServiceMonitorSpecETlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } + @JsonProperty("trackTimestampsStaleness") + public Boolean getTrackTimestampsStaleness() { + return trackTimestampsStaleness; + } + + @JsonProperty("trackTimestampsStaleness") + public void setTrackTimestampsStaleness(Boolean trackTimestampsStaleness) { + this.trackTimestampsStaleness = trackTimestampsStaleness; + } + @JsonIgnore - public EndpointBuilder edit() { - return new EndpointBuilder(this); + public ServiceMonitorSpecEndpointsBuilder edit() { + return new ServiceMonitorSpecEndpointsBuilder(this); } @JsonIgnore - public EndpointBuilder toBuilder() { + public ServiceMonitorSpecEndpointsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecNamespaceSelector.java new file mode 100644 index 00000000000..571fe76f94a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecNamespaceSelector.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "any", + "matchNames" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("any") + private Boolean any; + @JsonProperty("matchNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchNames = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecNamespaceSelector() { + } + + public ServiceMonitorSpecNamespaceSelector(Boolean any, List matchNames) { + super(); + this.any = any; + this.matchNames = matchNames; + } + + @JsonProperty("any") + public Boolean getAny() { + return any; + } + + @JsonProperty("any") + public void setAny(Boolean any) { + this.any = any; + } + + @JsonProperty("matchNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchNames() { + return matchNames; + } + + @JsonProperty("matchNames") + public void setMatchNames(List matchNames) { + this.matchNames = matchNames; + } + + @JsonIgnore + public ServiceMonitorSpecNamespaceSelectorBuilder edit() { + return new ServiceMonitorSpecNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecSelector.java new file mode 100644 index 00000000000..b2cba07982f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ServiceMonitorSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ServiceMonitorSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceMonitorSpecSelector() { + } + + public ServiceMonitorSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ServiceMonitorSpecSelectorBuilder edit() { + return new ServiceMonitorSpecSelectorBuilder(this); + } + + @JsonIgnore + public ServiceMonitorSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java index fdac3c6ae4c..9777451f6dc 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRuler.java @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -48,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -82,7 +83,7 @@ public class ThanosRuler implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "ThanosRuler"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ThanosRulerSpec spec; @JsonProperty("status") @@ -97,7 +98,7 @@ public class ThanosRuler implements Editable , HasMetadata, public ThanosRuler() { } - public ThanosRuler(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ThanosRulerSpec spec, ThanosRulerStatus status) { + public ThanosRuler(String apiVersion, String kind, ObjectMeta metadata, ThanosRulerSpec spec, ThanosRulerStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -147,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java index 2f9004426b1..b6d6ab97093 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpec.java @@ -14,18 +14,16 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Affinity; +import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodSecurityContext; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.SecretKeySelector; -import io.fabric8.kubernetes.api.model.Toleration; -import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -84,7 +82,8 @@ "tracingConfigFile", "version", "volumeMounts", - "volumes" + "volumes", + "web" }) @ToString @EqualsAndHashCode @@ -94,13 +93,13 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Container.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") @@ -109,9 +108,9 @@ public class ThanosRulerSpec implements Editable , Kuber @JsonProperty("additionalArgs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List additionalArgs = new ArrayList<>(); + private List additionalArgs = new ArrayList<>(); @JsonProperty("affinity") - private Affinity affinity; + private ThanosRulerSpecAffinity affinity; @JsonProperty("alertDropLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List alertDropLabels = new ArrayList<>(); @@ -120,39 +119,39 @@ public class ThanosRulerSpec implements Editable , Kuber @JsonProperty("alertRelabelConfigFile") private String alertRelabelConfigFile; @JsonProperty("alertRelabelConfigs") - private SecretKeySelector alertRelabelConfigs; + private ThanosRulerSpecAlertRelabelConfigs alertRelabelConfigs; @JsonProperty("alertmanagersConfig") - private SecretKeySelector alertmanagersConfig; + private ThanosRulerSpecAlertmanagersConfig alertmanagersConfig; @JsonProperty("alertmanagersUrl") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List alertmanagersUrl = new ArrayList<>(); @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containers = new ArrayList<>(); + private List containers = new ArrayList<>(); @JsonProperty("enforcedNamespaceLabel") private String enforcedNamespaceLabel; @JsonProperty("evaluationInterval") private String evaluationInterval; @JsonProperty("excludedFromEnforcement") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List excludedFromEnforcement = new ArrayList<>(); + private List excludedFromEnforcement = new ArrayList<>(); @JsonProperty("externalPrefix") private String externalPrefix; @JsonProperty("grpcServerTlsConfig") - private TLSConfig grpcServerTlsConfig; + private ThanosRulerSpecGrpcServerTlsConfig grpcServerTlsConfig; @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hostAliases = new ArrayList<>(); + private List hostAliases = new ArrayList<>(); @JsonProperty("image") private String image; @JsonProperty("imagePullPolicy") private String imagePullPolicy; @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); + private List imagePullSecrets = new ArrayList<>(); @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List initContainers = new ArrayList<>(); + private List initContainers = new ArrayList<>(); @JsonProperty("labels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labels = new LinkedHashMap<>(); @@ -168,61 +167,63 @@ public class ThanosRulerSpec implements Editable , Kuber @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelector = new LinkedHashMap<>(); @JsonProperty("objectStorageConfig") - private SecretKeySelector objectStorageConfig; + private ThanosRulerSpecObjectStorageConfig objectStorageConfig; @JsonProperty("objectStorageConfigFile") private String objectStorageConfigFile; @JsonProperty("paused") private Boolean paused; @JsonProperty("podMetadata") - private EmbeddedObjectMetadata podMetadata; + private ThanosRulerSpecPodMetadata podMetadata; @JsonProperty("portName") private String portName; @JsonProperty("priorityClassName") private String priorityClassName; @JsonProperty("prometheusRulesExcludedFromEnforce") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List prometheusRulesExcludedFromEnforce = new ArrayList<>(); + private List prometheusRulesExcludedFromEnforce = new ArrayList<>(); @JsonProperty("queryConfig") - private SecretKeySelector queryConfig; + private ThanosRulerSpecQueryConfig queryConfig; @JsonProperty("queryEndpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List queryEndpoints = new ArrayList<>(); @JsonProperty("replicas") private Integer replicas; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private ThanosRulerSpecResources resources; @JsonProperty("retention") private String retention; @JsonProperty("routePrefix") private String routePrefix; @JsonProperty("ruleNamespaceSelector") - private io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector; + private ThanosRulerSpecRuleNamespaceSelector ruleNamespaceSelector; @JsonProperty("ruleSelector") - private io.fabric8.kubernetes.api.model.LabelSelector ruleSelector; + private ThanosRulerSpecRuleSelector ruleSelector; @JsonProperty("securityContext") - private PodSecurityContext securityContext; + private ThanosRulerSpecSecurityContext securityContext; @JsonProperty("serviceAccountName") private String serviceAccountName; @JsonProperty("storage") - private StorageSpec storage; + private ThanosRulerSpecStorage storage; @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); + private List tolerations = new ArrayList<>(); @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List topologySpreadConstraints = new ArrayList<>(); + private List topologySpreadConstraints = new ArrayList<>(); @JsonProperty("tracingConfig") - private SecretKeySelector tracingConfig; + private ThanosRulerSpecTracingConfig tracingConfig; @JsonProperty("tracingConfigFile") private String tracingConfigFile; @JsonProperty("version") private String version; @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); + @JsonProperty("web") + private ThanosRulerSpecWeb web; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -233,7 +234,7 @@ public class ThanosRulerSpec implements Editable , Kuber public ThanosRulerSpec() { } - public ThanosRulerSpec(List additionalArgs, Affinity affinity, List alertDropLabels, String alertQueryUrl, String alertRelabelConfigFile, SecretKeySelector alertRelabelConfigs, SecretKeySelector alertmanagersConfig, List alertmanagersUrl, List containers, String enforcedNamespaceLabel, String evaluationInterval, List excludedFromEnforcement, String externalPrefix, TLSConfig grpcServerTlsConfig, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Map labels, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, SecretKeySelector objectStorageConfig, String objectStorageConfigFile, Boolean paused, EmbeddedObjectMetadata podMetadata, String portName, String priorityClassName, List prometheusRulesExcludedFromEnforce, SecretKeySelector queryConfig, List queryEndpoints, Integer replicas, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String retention, String routePrefix, io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector, io.fabric8.kubernetes.api.model.LabelSelector ruleSelector, PodSecurityContext securityContext, String serviceAccountName, StorageSpec storage, List tolerations, List topologySpreadConstraints, SecretKeySelector tracingConfig, String tracingConfigFile, String version, List volumeMounts, List volumes) { + public ThanosRulerSpec(List additionalArgs, ThanosRulerSpecAffinity affinity, List alertDropLabels, String alertQueryUrl, String alertRelabelConfigFile, ThanosRulerSpecAlertRelabelConfigs alertRelabelConfigs, ThanosRulerSpecAlertmanagersConfig alertmanagersConfig, List alertmanagersUrl, List containers, String enforcedNamespaceLabel, String evaluationInterval, List excludedFromEnforcement, String externalPrefix, ThanosRulerSpecGrpcServerTlsConfig grpcServerTlsConfig, List hostAliases, String image, String imagePullPolicy, List imagePullSecrets, List initContainers, Map labels, Boolean listenLocal, String logFormat, String logLevel, Integer minReadySeconds, Map nodeSelector, ThanosRulerSpecObjectStorageConfig objectStorageConfig, String objectStorageConfigFile, Boolean paused, ThanosRulerSpecPodMetadata podMetadata, String portName, String priorityClassName, List prometheusRulesExcludedFromEnforce, ThanosRulerSpecQueryConfig queryConfig, List queryEndpoints, Integer replicas, ThanosRulerSpecResources resources, String retention, String routePrefix, ThanosRulerSpecRuleNamespaceSelector ruleNamespaceSelector, ThanosRulerSpecRuleSelector ruleSelector, ThanosRulerSpecSecurityContext securityContext, String serviceAccountName, ThanosRulerSpecStorage storage, List tolerations, List topologySpreadConstraints, ThanosRulerSpecTracingConfig tracingConfig, String tracingConfigFile, String version, List volumeMounts, List volumes, ThanosRulerSpecWeb web) { super(); this.additionalArgs = additionalArgs; this.affinity = affinity; @@ -285,26 +286,27 @@ public ThanosRulerSpec(List additionalArgs, Affinity affinity, List getAdditionalArgs() { + public List getAdditionalArgs() { return additionalArgs; } @JsonProperty("additionalArgs") - public void setAdditionalArgs(List additionalArgs) { + public void setAdditionalArgs(List additionalArgs) { this.additionalArgs = additionalArgs; } @JsonProperty("affinity") - public Affinity getAffinity() { + public ThanosRulerSpecAffinity getAffinity() { return affinity; } @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { + public void setAffinity(ThanosRulerSpecAffinity affinity) { this.affinity = affinity; } @@ -340,22 +342,22 @@ public void setAlertRelabelConfigFile(String alertRelabelConfigFile) { } @JsonProperty("alertRelabelConfigs") - public SecretKeySelector getAlertRelabelConfigs() { + public ThanosRulerSpecAlertRelabelConfigs getAlertRelabelConfigs() { return alertRelabelConfigs; } @JsonProperty("alertRelabelConfigs") - public void setAlertRelabelConfigs(SecretKeySelector alertRelabelConfigs) { + public void setAlertRelabelConfigs(ThanosRulerSpecAlertRelabelConfigs alertRelabelConfigs) { this.alertRelabelConfigs = alertRelabelConfigs; } @JsonProperty("alertmanagersConfig") - public SecretKeySelector getAlertmanagersConfig() { + public ThanosRulerSpecAlertmanagersConfig getAlertmanagersConfig() { return alertmanagersConfig; } @JsonProperty("alertmanagersConfig") - public void setAlertmanagersConfig(SecretKeySelector alertmanagersConfig) { + public void setAlertmanagersConfig(ThanosRulerSpecAlertmanagersConfig alertmanagersConfig) { this.alertmanagersConfig = alertmanagersConfig; } @@ -372,12 +374,12 @@ public void setAlertmanagersUrl(List alertmanagersUrl) { @JsonProperty("containers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainers() { + public List getContainers() { return containers; } @JsonProperty("containers") - public void setContainers(List containers) { + public void setContainers(List containers) { this.containers = containers; } @@ -403,12 +405,12 @@ public void setEvaluationInterval(String evaluationInterval) { @JsonProperty("excludedFromEnforcement") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExcludedFromEnforcement() { + public List getExcludedFromEnforcement() { return excludedFromEnforcement; } @JsonProperty("excludedFromEnforcement") - public void setExcludedFromEnforcement(List excludedFromEnforcement) { + public void setExcludedFromEnforcement(List excludedFromEnforcement) { this.excludedFromEnforcement = excludedFromEnforcement; } @@ -423,23 +425,23 @@ public void setExternalPrefix(String externalPrefix) { } @JsonProperty("grpcServerTlsConfig") - public TLSConfig getGrpcServerTlsConfig() { + public ThanosRulerSpecGrpcServerTlsConfig getGrpcServerTlsConfig() { return grpcServerTlsConfig; } @JsonProperty("grpcServerTlsConfig") - public void setGrpcServerTlsConfig(TLSConfig grpcServerTlsConfig) { + public void setGrpcServerTlsConfig(ThanosRulerSpecGrpcServerTlsConfig grpcServerTlsConfig) { this.grpcServerTlsConfig = grpcServerTlsConfig; } @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHostAliases() { + public List getHostAliases() { return hostAliases; } @JsonProperty("hostAliases") - public void setHostAliases(List hostAliases) { + public void setHostAliases(List hostAliases) { this.hostAliases = hostAliases; } @@ -465,23 +467,23 @@ public void setImagePullPolicy(String imagePullPolicy) { @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { + public List getImagePullSecrets() { return imagePullSecrets; } @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { + public void setImagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; } @JsonProperty("initContainers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInitContainers() { + public List getInitContainers() { return initContainers; } @JsonProperty("initContainers") - public void setInitContainers(List initContainers) { + public void setInitContainers(List initContainers) { this.initContainers = initContainers; } @@ -548,12 +550,12 @@ public void setNodeSelector(Map nodeSelector) { } @JsonProperty("objectStorageConfig") - public SecretKeySelector getObjectStorageConfig() { + public ThanosRulerSpecObjectStorageConfig getObjectStorageConfig() { return objectStorageConfig; } @JsonProperty("objectStorageConfig") - public void setObjectStorageConfig(SecretKeySelector objectStorageConfig) { + public void setObjectStorageConfig(ThanosRulerSpecObjectStorageConfig objectStorageConfig) { this.objectStorageConfig = objectStorageConfig; } @@ -578,12 +580,12 @@ public void setPaused(Boolean paused) { } @JsonProperty("podMetadata") - public EmbeddedObjectMetadata getPodMetadata() { + public ThanosRulerSpecPodMetadata getPodMetadata() { return podMetadata; } @JsonProperty("podMetadata") - public void setPodMetadata(EmbeddedObjectMetadata podMetadata) { + public void setPodMetadata(ThanosRulerSpecPodMetadata podMetadata) { this.podMetadata = podMetadata; } @@ -609,22 +611,22 @@ public void setPriorityClassName(String priorityClassName) { @JsonProperty("prometheusRulesExcludedFromEnforce") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPrometheusRulesExcludedFromEnforce() { + public List getPrometheusRulesExcludedFromEnforce() { return prometheusRulesExcludedFromEnforce; } @JsonProperty("prometheusRulesExcludedFromEnforce") - public void setPrometheusRulesExcludedFromEnforce(List prometheusRulesExcludedFromEnforce) { + public void setPrometheusRulesExcludedFromEnforce(List prometheusRulesExcludedFromEnforce) { this.prometheusRulesExcludedFromEnforce = prometheusRulesExcludedFromEnforce; } @JsonProperty("queryConfig") - public SecretKeySelector getQueryConfig() { + public ThanosRulerSpecQueryConfig getQueryConfig() { return queryConfig; } @JsonProperty("queryConfig") - public void setQueryConfig(SecretKeySelector queryConfig) { + public void setQueryConfig(ThanosRulerSpecQueryConfig queryConfig) { this.queryConfig = queryConfig; } @@ -650,12 +652,12 @@ public void setReplicas(Integer replicas) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public ThanosRulerSpecResources getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(ThanosRulerSpecResources resources) { this.resources = resources; } @@ -680,32 +682,32 @@ public void setRoutePrefix(String routePrefix) { } @JsonProperty("ruleNamespaceSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getRuleNamespaceSelector() { + public ThanosRulerSpecRuleNamespaceSelector getRuleNamespaceSelector() { return ruleNamespaceSelector; } @JsonProperty("ruleNamespaceSelector") - public void setRuleNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector ruleNamespaceSelector) { + public void setRuleNamespaceSelector(ThanosRulerSpecRuleNamespaceSelector ruleNamespaceSelector) { this.ruleNamespaceSelector = ruleNamespaceSelector; } @JsonProperty("ruleSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getRuleSelector() { + public ThanosRulerSpecRuleSelector getRuleSelector() { return ruleSelector; } @JsonProperty("ruleSelector") - public void setRuleSelector(io.fabric8.kubernetes.api.model.LabelSelector ruleSelector) { + public void setRuleSelector(ThanosRulerSpecRuleSelector ruleSelector) { this.ruleSelector = ruleSelector; } @JsonProperty("securityContext") - public PodSecurityContext getSecurityContext() { + public ThanosRulerSpecSecurityContext getSecurityContext() { return securityContext; } @JsonProperty("securityContext") - public void setSecurityContext(PodSecurityContext securityContext) { + public void setSecurityContext(ThanosRulerSpecSecurityContext securityContext) { this.securityContext = securityContext; } @@ -720,44 +722,44 @@ public void setServiceAccountName(String serviceAccountName) { } @JsonProperty("storage") - public StorageSpec getStorage() { + public ThanosRulerSpecStorage getStorage() { return storage; } @JsonProperty("storage") - public void setStorage(StorageSpec storage) { + public void setStorage(ThanosRulerSpecStorage storage) { this.storage = storage; } @JsonProperty("tolerations") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { + public List getTolerations() { return tolerations; } @JsonProperty("tolerations") - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } @JsonProperty("topologySpreadConstraints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTopologySpreadConstraints() { + public List getTopologySpreadConstraints() { return topologySpreadConstraints; } @JsonProperty("topologySpreadConstraints") - public void setTopologySpreadConstraints(List topologySpreadConstraints) { + public void setTopologySpreadConstraints(List topologySpreadConstraints) { this.topologySpreadConstraints = topologySpreadConstraints; } @JsonProperty("tracingConfig") - public SecretKeySelector getTracingConfig() { + public ThanosRulerSpecTracingConfig getTracingConfig() { return tracingConfig; } @JsonProperty("tracingConfig") - public void setTracingConfig(SecretKeySelector tracingConfig) { + public void setTracingConfig(ThanosRulerSpecTracingConfig tracingConfig) { this.tracingConfig = tracingConfig; } @@ -783,26 +785,36 @@ public void setVersion(String version) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } + @JsonProperty("web") + public ThanosRulerSpecWeb getWeb() { + return web; + } + + @JsonProperty("web") + public void setWeb(ThanosRulerSpecWeb web) { + this.web = web; + } + @JsonIgnore public ThanosRulerSpecBuilder edit() { return new ThanosRulerSpecBuilder(this); diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchExpressions.java new file mode 100644 index 00000000000..edc61584dc7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANAPDSIDEPMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANAPDSIDEPMatchExpressions() { + } + + public ThanosRulerSpecANAPDSIDEPMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPMatchExpressionsBuilder edit() { + return new ThanosRulerSpecANAPDSIDEPMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchFields.java new file mode 100644 index 00000000000..54725a0813b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANAPDSIDEPMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANAPDSIDEPMatchFields() { + } + + public ThanosRulerSpecANAPDSIDEPMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPMatchFieldsBuilder edit() { + return new ThanosRulerSpecANAPDSIDEPMatchFieldsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPreference.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPreference.java new file mode 100644 index 00000000000..02a4bcb082f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPDSIDEPreference.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANAPDSIDEPreference implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANAPDSIDEPreference() { + } + + public ThanosRulerSpecANAPDSIDEPreference(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPreferenceBuilder edit() { + return new ThanosRulerSpecANAPDSIDEPreferenceBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANAPDSIDEPreferenceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..b080a2a043d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preference", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("preference") + private ThanosRulerSpecANAPDSIDEPreference preference; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecANAPDSIDEPreference preference, Integer weight) { + super(); + this.preference = preference; + this.weight = weight; + } + + @JsonProperty("preference") + public ThanosRulerSpecANAPDSIDEPreference getPreference() { + return preference; + } + + @JsonProperty("preference") + public void setPreference(ThanosRulerSpecANAPDSIDEPreference preference) { + this.preference = preference; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchExpressions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchExpressions.java new file mode 100644 index 00000000000..128bb6a1211 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchExpressions.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANARDSIDENSTMatchExpressions implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANARDSIDENSTMatchExpressions() { + } + + public ThanosRulerSpecANARDSIDENSTMatchExpressions(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENSTMatchExpressionsBuilder edit() { + return new ThanosRulerSpecANARDSIDENSTMatchExpressionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENSTMatchExpressionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchFields.java new file mode 100644 index 00000000000..156f93f7448 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENSTMatchFields.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "operator", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANARDSIDENSTMatchFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANARDSIDENSTMatchFields() { + } + + public ThanosRulerSpecANARDSIDENSTMatchFields(String key, String operator, List values) { + super(); + this.key = key; + this.operator = operator; + this.values = values; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENSTMatchFieldsBuilder edit() { + return new ThanosRulerSpecANARDSIDENSTMatchFieldsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENSTMatchFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENodeSelectorTerms.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENodeSelectorTerms.java new file mode 100644 index 00000000000..4242c126d47 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARDSIDENodeSelectorTerms.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchFields" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANARDSIDENodeSelectorTerms implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchFields = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANARDSIDENodeSelectorTerms() { + } + + public ThanosRulerSpecANARDSIDENodeSelectorTerms(List matchExpressions, List matchFields) { + super(); + this.matchExpressions = matchExpressions; + this.matchFields = matchFields; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchFields") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchFields() { + return matchFields; + } + + @JsonProperty("matchFields") + public void setMatchFields(List matchFields) { + this.matchFields = matchFields; + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENodeSelectorTermsBuilder edit() { + return new ThanosRulerSpecANARDSIDENodeSelectorTermsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANARDSIDENodeSelectorTermsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..b27d57a51f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeSelectorTerms" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List nodeSelectorTerms = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution(List nodeSelectorTerms) { + super(); + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNodeSelectorTerms() { + return nodeSelectorTerms; + } + + @JsonProperty("nodeSelectorTerms") + public void setNodeSelectorTerms(List nodeSelectorTerms) { + this.nodeSelectorTerms = nodeSelectorTerms; + } + + @JsonIgnore + public ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANodeAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANodeAffinity.java new file mode 100644 index 00000000000..66288b955b4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecANodeAffinity.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecANodeAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + private ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecANodeAffinity() { + } + + public ThanosRulerSpecANodeAffinity(List preferredDuringSchedulingIgnoredDuringExecution, ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecANARequiredDuringSchedulingIgnoredDuringExecution requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ThanosRulerSpecANodeAffinityBuilder edit() { + return new ThanosRulerSpecANodeAffinityBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecANodeAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..a98dd70f546 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAAPDSIDEPATLabelSelector() { + } + + public ThanosRulerSpecAPAAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPATLabelSelectorBuilder edit() { + return new ThanosRulerSpecAPAAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..7a253f1790d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector() { + } + + public ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPATNamespaceSelectorBuilder edit() { + return new ThanosRulerSpecAPAAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..57d3dea949b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecAPAAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAAPDSIDEPodAffinityTerm() { + } + + public ThanosRulerSpecAPAAPDSIDEPodAffinityTerm(ThanosRulerSpecAPAAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecAPAAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecAPAAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ThanosRulerSpecAPAAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPodAffinityTermBuilder edit() { + return new ThanosRulerSpecAPAAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..e0cfa3ad9bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private ThanosRulerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public ThanosRulerSpecAPAAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(ThanosRulerSpecAPAAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDELabelSelector.java new file mode 100644 index 00000000000..3f414635436 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAARDSIDELabelSelector() { + } + + public ThanosRulerSpecAPAARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAARDSIDELabelSelectorBuilder edit() { + return new ThanosRulerSpecAPAARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..e2563c79980 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAARDSIDENamespaceSelector() { + } + + public ThanosRulerSpecAPAARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAARDSIDENamespaceSelectorBuilder edit() { + return new ThanosRulerSpecAPAARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..88eb0c427d6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecAPAARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ThanosRulerSpecAPAARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecAPAARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ThanosRulerSpecAPAARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecAPAARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecAPAARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ThanosRulerSpecAPAARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ThanosRulerSpecAPAARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATLabelSelector.java new file mode 100644 index 00000000000..48ecefbcbf4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAPDSIDEPATLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAPDSIDEPATLabelSelector() { + } + + public ThanosRulerSpecAPAPDSIDEPATLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPATLabelSelectorBuilder edit() { + return new ThanosRulerSpecAPAPDSIDEPATLabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPATLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATNamespaceSelector.java new file mode 100644 index 00000000000..ced5a11445c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPATNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAPDSIDEPATNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAPDSIDEPATNamespaceSelector() { + } + + public ThanosRulerSpecAPAPDSIDEPATNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPATNamespaceSelectorBuilder edit() { + return new ThanosRulerSpecAPAPDSIDEPATNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPATNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPodAffinityTerm.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPodAffinityTerm.java new file mode 100644 index 00000000000..c7345b83647 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPDSIDEPodAffinityTerm.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAPDSIDEPodAffinityTerm implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecAPAPDSIDEPATLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ThanosRulerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAPDSIDEPodAffinityTerm() { + } + + public ThanosRulerSpecAPAPDSIDEPodAffinityTerm(ThanosRulerSpecAPAPDSIDEPATLabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ThanosRulerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecAPAPDSIDEPATLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecAPAPDSIDEPATLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ThanosRulerSpecAPAPDSIDEPATNamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ThanosRulerSpecAPAPDSIDEPATNamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPodAffinityTermBuilder edit() { + return new ThanosRulerSpecAPAPDSIDEPodAffinityTermBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAPDSIDEPodAffinityTermBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..de35c9ddcc9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "podAffinityTerm", + "weight" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("podAffinityTerm") + private ThanosRulerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm; + @JsonProperty("weight") + private Integer weight; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm, Integer weight) { + super(); + this.podAffinityTerm = podAffinityTerm; + this.weight = weight; + } + + @JsonProperty("podAffinityTerm") + public ThanosRulerSpecAPAPDSIDEPodAffinityTerm getPodAffinityTerm() { + return podAffinityTerm; + } + + @JsonProperty("podAffinityTerm") + public void setPodAffinityTerm(ThanosRulerSpecAPAPDSIDEPodAffinityTerm podAffinityTerm) { + this.podAffinityTerm = podAffinityTerm; + } + + @JsonProperty("weight") + public Integer getWeight() { + return weight; + } + + @JsonProperty("weight") + public void setWeight(Integer weight) { + this.weight = weight; + } + + @JsonIgnore + public ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPAPreferredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDELabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDELabelSelector.java new file mode 100644 index 00000000000..e8897a6f9db --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDELabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPARDSIDELabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPARDSIDELabelSelector() { + } + + public ThanosRulerSpecAPARDSIDELabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPARDSIDELabelSelectorBuilder edit() { + return new ThanosRulerSpecAPARDSIDELabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPARDSIDELabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDENamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDENamespaceSelector.java new file mode 100644 index 00000000000..586b8d64580 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARDSIDENamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPARDSIDENamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPARDSIDENamespaceSelector() { + } + + public ThanosRulerSpecAPARDSIDENamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecAPARDSIDENamespaceSelectorBuilder edit() { + return new ThanosRulerSpecAPARDSIDENamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPARDSIDENamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java new file mode 100644 index 00000000000..440974ece21 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution.java @@ -0,0 +1,186 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "mismatchLabelKeys", + "namespaceSelector", + "namespaces", + "topologyKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecAPARDSIDELabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List mismatchLabelKeys = new ArrayList<>(); + @JsonProperty("namespaceSelector") + private ThanosRulerSpecAPARDSIDENamespaceSelector namespaceSelector; + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonProperty("topologyKey") + private String topologyKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution() { + } + + public ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecution(ThanosRulerSpecAPARDSIDELabelSelector labelSelector, List matchLabelKeys, List mismatchLabelKeys, ThanosRulerSpecAPARDSIDENamespaceSelector namespaceSelector, List namespaces, String topologyKey) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.mismatchLabelKeys = mismatchLabelKeys; + this.namespaceSelector = namespaceSelector; + this.namespaces = namespaces; + this.topologyKey = topologyKey; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecAPARDSIDELabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecAPARDSIDELabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMismatchLabelKeys() { + return mismatchLabelKeys; + } + + @JsonProperty("mismatchLabelKeys") + public void setMismatchLabelKeys(List mismatchLabelKeys) { + this.mismatchLabelKeys = mismatchLabelKeys; + } + + @JsonProperty("namespaceSelector") + public ThanosRulerSpecAPARDSIDENamespaceSelector getNamespaceSelector() { + return namespaceSelector; + } + + @JsonProperty("namespaceSelector") + public void setNamespaceSelector(ThanosRulerSpecAPARDSIDENamespaceSelector namespaceSelector) { + this.namespaceSelector = namespaceSelector; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonIgnore + public ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder edit() { + return new ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPARequiredDuringSchedulingIgnoredDuringExecutionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAffinity.java new file mode 100644 index 00000000000..91ff93165eb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPodAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPodAffinity() { + } + + public ThanosRulerSpecAPodAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ThanosRulerSpecAPodAffinityBuilder edit() { + return new ThanosRulerSpecAPodAffinityBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPodAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAntiAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAntiAffinity.java new file mode 100644 index 00000000000..0c7fb12e805 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAPodAntiAffinity.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "preferredDuringSchedulingIgnoredDuringExecution", + "requiredDuringSchedulingIgnoredDuringExecution" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAPodAntiAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List preferredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List requiredDuringSchedulingIgnoredDuringExecution = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAPodAntiAffinity() { + } + + public ThanosRulerSpecAPodAntiAffinity(List preferredDuringSchedulingIgnoredDuringExecution, List requiredDuringSchedulingIgnoredDuringExecution) { + super(); + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPreferredDuringSchedulingIgnoredDuringExecution() { + return preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("preferredDuringSchedulingIgnoredDuringExecution") + public void setPreferredDuringSchedulingIgnoredDuringExecution(List preferredDuringSchedulingIgnoredDuringExecution) { + this.preferredDuringSchedulingIgnoredDuringExecution = preferredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRequiredDuringSchedulingIgnoredDuringExecution() { + return requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonProperty("requiredDuringSchedulingIgnoredDuringExecution") + public void setRequiredDuringSchedulingIgnoredDuringExecution(List requiredDuringSchedulingIgnoredDuringExecution) { + this.requiredDuringSchedulingIgnoredDuringExecution = requiredDuringSchedulingIgnoredDuringExecution; + } + + @JsonIgnore + public ThanosRulerSpecAPodAntiAffinityBuilder edit() { + return new ThanosRulerSpecAPodAntiAffinityBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAPodAntiAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAdditionalArgs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAdditionalArgs.java new file mode 100644 index 00000000000..5bed5c2eaed --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAdditionalArgs.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAdditionalArgs implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAdditionalArgs() { + } + + public ThanosRulerSpecAdditionalArgs(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ThanosRulerSpecAdditionalArgsBuilder edit() { + return new ThanosRulerSpecAdditionalArgsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAdditionalArgsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAffinity.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAffinity.java new file mode 100644 index 00000000000..7053d1d9588 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAffinity.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "nodeAffinity", + "podAffinity", + "podAntiAffinity" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAffinity implements Editable , KubernetesResource +{ + + @JsonProperty("nodeAffinity") + private ThanosRulerSpecANodeAffinity nodeAffinity; + @JsonProperty("podAffinity") + private ThanosRulerSpecAPodAffinity podAffinity; + @JsonProperty("podAntiAffinity") + private ThanosRulerSpecAPodAntiAffinity podAntiAffinity; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAffinity() { + } + + public ThanosRulerSpecAffinity(ThanosRulerSpecANodeAffinity nodeAffinity, ThanosRulerSpecAPodAffinity podAffinity, ThanosRulerSpecAPodAntiAffinity podAntiAffinity) { + super(); + this.nodeAffinity = nodeAffinity; + this.podAffinity = podAffinity; + this.podAntiAffinity = podAntiAffinity; + } + + @JsonProperty("nodeAffinity") + public ThanosRulerSpecANodeAffinity getNodeAffinity() { + return nodeAffinity; + } + + @JsonProperty("nodeAffinity") + public void setNodeAffinity(ThanosRulerSpecANodeAffinity nodeAffinity) { + this.nodeAffinity = nodeAffinity; + } + + @JsonProperty("podAffinity") + public ThanosRulerSpecAPodAffinity getPodAffinity() { + return podAffinity; + } + + @JsonProperty("podAffinity") + public void setPodAffinity(ThanosRulerSpecAPodAffinity podAffinity) { + this.podAffinity = podAffinity; + } + + @JsonProperty("podAntiAffinity") + public ThanosRulerSpecAPodAntiAffinity getPodAntiAffinity() { + return podAntiAffinity; + } + + @JsonProperty("podAntiAffinity") + public void setPodAntiAffinity(ThanosRulerSpecAPodAntiAffinity podAntiAffinity) { + this.podAntiAffinity = podAntiAffinity; + } + + @JsonIgnore + public ThanosRulerSpecAffinityBuilder edit() { + return new ThanosRulerSpecAffinityBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAffinityBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertRelabelConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertRelabelConfigs.java new file mode 100644 index 00000000000..b7b00480312 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertRelabelConfigs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAlertRelabelConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAlertRelabelConfigs() { + } + + public ThanosRulerSpecAlertRelabelConfigs(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecAlertRelabelConfigsBuilder edit() { + return new ThanosRulerSpecAlertRelabelConfigsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAlertRelabelConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertmanagersConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertmanagersConfig.java new file mode 100644 index 00000000000..9ee6709c096 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecAlertmanagersConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecAlertmanagersConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecAlertmanagersConfig() { + } + + public ThanosRulerSpecAlertmanagersConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecAlertmanagersConfigBuilder edit() { + return new ThanosRulerSpecAlertmanagersConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecAlertmanagersConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFConfigMapRef.java new file mode 100644 index 00000000000..9ff6d813480 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFConfigMapRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEFConfigMapRef() { + } + + public ThanosRulerSpecCEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecCEFConfigMapRefBuilder edit() { + return new ThanosRulerSpecCEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFSecretRef.java new file mode 100644 index 00000000000..d13be463804 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEFSecretRef() { + } + + public ThanosRulerSpecCEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecCEFSecretRefBuilder edit() { + return new ThanosRulerSpecCEFSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..754f091aba7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEVFConfigMapKeyRef() { + } + + public ThanosRulerSpecCEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecCEVFConfigMapKeyRefBuilder edit() { + return new ThanosRulerSpecCEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFFieldRef.java new file mode 100644 index 00000000000..8a2e22e4b3e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEVFFieldRef() { + } + + public ThanosRulerSpecCEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public ThanosRulerSpecCEVFFieldRefBuilder edit() { + return new ThanosRulerSpecCEVFFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFResourceFieldRef.java new file mode 100644 index 00000000000..f8ec4351062 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEVFResourceFieldRef() { + } + + public ThanosRulerSpecCEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ThanosRulerSpecCEVFResourceFieldRefBuilder edit() { + return new ThanosRulerSpecCEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFSecretKeyRef.java new file mode 100644 index 00000000000..f1ceb9979c3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEVFSecretKeyRef() { + } + + public ThanosRulerSpecCEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecCEVFSecretKeyRefBuilder edit() { + return new ThanosRulerSpecCEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEValueFrom.java new file mode 100644 index 00000000000..96b1bf1e455 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private ThanosRulerSpecCEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private ThanosRulerSpecCEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private ThanosRulerSpecCEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private ThanosRulerSpecCEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEValueFrom() { + } + + public ThanosRulerSpecCEValueFrom(ThanosRulerSpecCEVFConfigMapKeyRef configMapKeyRef, ThanosRulerSpecCEVFFieldRef fieldRef, ThanosRulerSpecCEVFResourceFieldRef resourceFieldRef, ThanosRulerSpecCEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public ThanosRulerSpecCEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(ThanosRulerSpecCEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public ThanosRulerSpecCEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ThanosRulerSpecCEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public ThanosRulerSpecCEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ThanosRulerSpecCEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public ThanosRulerSpecCEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(ThanosRulerSpecCEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public ThanosRulerSpecCEValueFromBuilder edit() { + return new ThanosRulerSpecCEValueFromBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnv.java new file mode 100644 index 00000000000..bc6e75ea168 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private ThanosRulerSpecCEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEnv() { + } + + public ThanosRulerSpecCEnv(String name, String value, ThanosRulerSpecCEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public ThanosRulerSpecCEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(ThanosRulerSpecCEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public ThanosRulerSpecCEnvBuilder edit() { + return new ThanosRulerSpecCEnvBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnvFrom.java new file mode 100644 index 00000000000..75620168fe6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private ThanosRulerSpecCEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private ThanosRulerSpecCEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCEnvFrom() { + } + + public ThanosRulerSpecCEnvFrom(ThanosRulerSpecCEFConfigMapRef configMapRef, String prefix, ThanosRulerSpecCEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public ThanosRulerSpecCEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(ThanosRulerSpecCEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecCEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecCEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ThanosRulerSpecCEnvFromBuilder edit() { + return new ThanosRulerSpecCEnvFromBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPExec.java new file mode 100644 index 00000000000..41326cf4a7f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPExec() { + } + + public ThanosRulerSpecCLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecCLPExecBuilder edit() { + return new ThanosRulerSpecCLPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPGrpc.java new file mode 100644 index 00000000000..275f92c5083 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPGrpc() { + } + + public ThanosRulerSpecCLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecCLPGrpcBuilder edit() { + return new ThanosRulerSpecCLPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPHttpGet.java new file mode 100644 index 00000000000..ec235dd07b8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPHttpGet() { + } + + public ThanosRulerSpecCLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecCLPHttpGetBuilder edit() { + return new ThanosRulerSpecCLPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec.java new file mode 100644 index 00000000000..6ff6782cdae --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSExec() { + } + + public ThanosRulerSpecCLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecCLPSExecBuilder edit() { + return new ThanosRulerSpecCLPSExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec_1.java new file mode 100644 index 00000000000..738139e7799 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSExec_1() { + } + + public ThanosRulerSpecCLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecCLPSExec_1Builder edit() { + return new ThanosRulerSpecCLPSExec_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet.java new file mode 100644 index 00000000000..c56c38d553a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSHttpGet() { + } + + public ThanosRulerSpecCLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecCLPSHttpGetBuilder edit() { + return new ThanosRulerSpecCLPSHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet_1.java new file mode 100644 index 00000000000..dacf61df76a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSHttpGet_1() { + } + + public ThanosRulerSpecCLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecCLPSHttpGet_1Builder edit() { + return new ThanosRulerSpecCLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep.java new file mode 100644 index 00000000000..83083d1bb1f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSSleep() { + } + + public ThanosRulerSpecCLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ThanosRulerSpecCLPSSleepBuilder edit() { + return new ThanosRulerSpecCLPSSleepBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep_1.java new file mode 100644 index 00000000000..857853830e5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSSleep_1() { + } + + public ThanosRulerSpecCLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ThanosRulerSpecCLPSSleep_1Builder edit() { + return new ThanosRulerSpecCLPSSleep_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket.java new file mode 100644 index 00000000000..fba1c1e1e80 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSTcpSocket() { + } + + public ThanosRulerSpecCLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecCLPSTcpSocketBuilder edit() { + return new ThanosRulerSpecCLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket_1.java new file mode 100644 index 00000000000..434768be18b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPSTcpSocket_1() { + } + + public ThanosRulerSpecCLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecCLPSTcpSocket_1Builder edit() { + return new ThanosRulerSpecCLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPTcpSocket.java new file mode 100644 index 00000000000..b6cf9d3491c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPTcpSocket() { + } + + public ThanosRulerSpecCLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecCLPTcpSocketBuilder edit() { + return new ThanosRulerSpecCLPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPostStart.java new file mode 100644 index 00000000000..fec05a3368f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecCLPSExec exec; + @JsonProperty("httpGet") + private ThanosRulerSpecCLPSHttpGet httpGet; + @JsonProperty("sleep") + private ThanosRulerSpecCLPSSleep sleep; + @JsonProperty("tcpSocket") + private ThanosRulerSpecCLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPostStart() { + } + + public ThanosRulerSpecCLPostStart(ThanosRulerSpecCLPSExec exec, ThanosRulerSpecCLPSHttpGet httpGet, ThanosRulerSpecCLPSSleep sleep, ThanosRulerSpecCLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ThanosRulerSpecCLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecCLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecCLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecCLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ThanosRulerSpecCLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ThanosRulerSpecCLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecCLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecCLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ThanosRulerSpecCLPostStartBuilder edit() { + return new ThanosRulerSpecCLPostStartBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPreStop.java new file mode 100644 index 00000000000..a16ef050759 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecCLPSExec_1 exec; + @JsonProperty("httpGet") + private ThanosRulerSpecCLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private ThanosRulerSpecCLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private ThanosRulerSpecCLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLPreStop() { + } + + public ThanosRulerSpecCLPreStop(ThanosRulerSpecCLPSExec_1 exec, ThanosRulerSpecCLPSHttpGet_1 httpGet, ThanosRulerSpecCLPSSleep_1 sleep, ThanosRulerSpecCLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ThanosRulerSpecCLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecCLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecCLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecCLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ThanosRulerSpecCLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ThanosRulerSpecCLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecCLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecCLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ThanosRulerSpecCLPreStopBuilder edit() { + return new ThanosRulerSpecCLPreStopBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLifecycle.java new file mode 100644 index 00000000000..c8aff5c3550 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private ThanosRulerSpecCLPostStart postStart; + @JsonProperty("preStop") + private ThanosRulerSpecCLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLifecycle() { + } + + public ThanosRulerSpecCLifecycle(ThanosRulerSpecCLPostStart postStart, ThanosRulerSpecCLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public ThanosRulerSpecCLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(ThanosRulerSpecCLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public ThanosRulerSpecCLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(ThanosRulerSpecCLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public ThanosRulerSpecCLifecycleBuilder edit() { + return new ThanosRulerSpecCLifecycleBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLivenessProbe.java new file mode 100644 index 00000000000..b3a66036592 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecCLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecCLPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecCLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecCLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCLivenessProbe() { + } + + public ThanosRulerSpecCLivenessProbe(ThanosRulerSpecCLPExec exec, Integer failureThreshold, ThanosRulerSpecCLPGrpc grpc, ThanosRulerSpecCLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecCLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecCLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecCLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecCLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecCLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecCLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecCLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecCLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecCLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecCLivenessProbeBuilder edit() { + return new ThanosRulerSpecCLivenessProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCPorts.java new file mode 100644 index 00000000000..51abc5be2ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCPorts() { + } + + public ThanosRulerSpecCPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public ThanosRulerSpecCPortsBuilder edit() { + return new ThanosRulerSpecCPortsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPExec.java new file mode 100644 index 00000000000..f4ae9a9bde6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCRPExec() { + } + + public ThanosRulerSpecCRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecCRPExecBuilder edit() { + return new ThanosRulerSpecCRPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPGrpc.java new file mode 100644 index 00000000000..6d9f6131d13 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCRPGrpc() { + } + + public ThanosRulerSpecCRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecCRPGrpcBuilder edit() { + return new ThanosRulerSpecCRPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPHttpGet.java new file mode 100644 index 00000000000..5d901aadeda --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCRPHttpGet() { + } + + public ThanosRulerSpecCRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecCRPHttpGetBuilder edit() { + return new ThanosRulerSpecCRPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPTcpSocket.java new file mode 100644 index 00000000000..cdce39e9486 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCRPTcpSocket() { + } + + public ThanosRulerSpecCRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecCRPTcpSocketBuilder edit() { + return new ThanosRulerSpecCRPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCReadinessProbe.java new file mode 100644 index 00000000000..2fea3ea999b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecCRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecCRPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecCRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecCRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCReadinessProbe() { + } + + public ThanosRulerSpecCReadinessProbe(ThanosRulerSpecCRPExec exec, Integer failureThreshold, ThanosRulerSpecCRPGrpc grpc, ThanosRulerSpecCRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecCRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecCRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecCRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecCRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecCRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecCRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecCRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecCRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecCRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecCReadinessProbeBuilder edit() { + return new ThanosRulerSpecCReadinessProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCResources.java new file mode 100644 index 00000000000..c43aa3f9e0c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCResources() { + } + + public ThanosRulerSpecCResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecCResourcesBuilder edit() { + return new ThanosRulerSpecCResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCCapabilities.java new file mode 100644 index 00000000000..efe12201910 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSCCapabilities() { + } + + public ThanosRulerSpecCSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public ThanosRulerSpecCSCCapabilitiesBuilder edit() { + return new ThanosRulerSpecCSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeLinuxOptions.java new file mode 100644 index 00000000000..c832c0911dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSCSeLinuxOptions() { + } + + public ThanosRulerSpecCSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ThanosRulerSpecCSCSeLinuxOptionsBuilder edit() { + return new ThanosRulerSpecCSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeccompProfile.java new file mode 100644 index 00000000000..b4174c6c416 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSCSeccompProfile() { + } + + public ThanosRulerSpecCSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerSpecCSCSeccompProfileBuilder edit() { + return new ThanosRulerSpecCSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCWindowsOptions.java new file mode 100644 index 00000000000..d135bc45ca3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSCWindowsOptions() { + } + + public ThanosRulerSpecCSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ThanosRulerSpecCSCWindowsOptionsBuilder edit() { + return new ThanosRulerSpecCSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPExec.java new file mode 100644 index 00000000000..aa97b0bd82b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSPExec() { + } + + public ThanosRulerSpecCSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecCSPExecBuilder edit() { + return new ThanosRulerSpecCSPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPGrpc.java new file mode 100644 index 00000000000..c20e978641f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSPGrpc() { + } + + public ThanosRulerSpecCSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecCSPGrpcBuilder edit() { + return new ThanosRulerSpecCSPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPHttpGet.java new file mode 100644 index 00000000000..66ff78c0589 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSPHttpGet() { + } + + public ThanosRulerSpecCSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecCSPHttpGetBuilder edit() { + return new ThanosRulerSpecCSPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPTcpSocket.java new file mode 100644 index 00000000000..49fcc119576 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSPTcpSocket() { + } + + public ThanosRulerSpecCSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecCSPTcpSocketBuilder edit() { + return new ThanosRulerSpecCSPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSecurityContext.java new file mode 100644 index 00000000000..06e6f244a4b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private ThanosRulerSpecCSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ThanosRulerSpecCSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ThanosRulerSpecCSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private ThanosRulerSpecCSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCSecurityContext() { + } + + public ThanosRulerSpecCSecurityContext(Boolean allowPrivilegeEscalation, ThanosRulerSpecCSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ThanosRulerSpecCSCSeLinuxOptions seLinuxOptions, ThanosRulerSpecCSCSeccompProfile seccompProfile, ThanosRulerSpecCSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public ThanosRulerSpecCSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(ThanosRulerSpecCSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ThanosRulerSpecCSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ThanosRulerSpecCSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ThanosRulerSpecCSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ThanosRulerSpecCSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public ThanosRulerSpecCSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ThanosRulerSpecCSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ThanosRulerSpecCSecurityContextBuilder edit() { + return new ThanosRulerSpecCSecurityContextBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCStartupProbe.java new file mode 100644 index 00000000000..bb6a14da846 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecCSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecCSPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecCSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecCSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCStartupProbe() { + } + + public ThanosRulerSpecCStartupProbe(ThanosRulerSpecCSPExec exec, Integer failureThreshold, ThanosRulerSpecCSPGrpc grpc, ThanosRulerSpecCSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecCSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecCSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecCSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecCSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecCSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecCSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecCSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecCSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecCSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecCStartupProbeBuilder edit() { + return new ThanosRulerSpecCStartupProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCVolumeMounts.java new file mode 100644 index 00000000000..3233fe45dc9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecCVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecCVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecCVolumeMounts() { + } + + public ThanosRulerSpecCVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ThanosRulerSpecCVolumeMountsBuilder edit() { + return new ThanosRulerSpecCVolumeMountsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecCVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecContainers.java new file mode 100644 index 00000000000..ba836be4026 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private ThanosRulerSpecCLifecycle lifecycle; + @JsonProperty("livenessProbe") + private ThanosRulerSpecCLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private ThanosRulerSpecCReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private ThanosRulerSpecCResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private ThanosRulerSpecCSecurityContext securityContext; + @JsonProperty("startupProbe") + private ThanosRulerSpecCStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecContainers() { + } + + public ThanosRulerSpecContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, ThanosRulerSpecCLifecycle lifecycle, ThanosRulerSpecCLivenessProbe livenessProbe, String name, List ports, ThanosRulerSpecCReadinessProbe readinessProbe, List resizePolicy, ThanosRulerSpecCResources resources, String restartPolicy, ThanosRulerSpecCSecurityContext securityContext, ThanosRulerSpecCStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public ThanosRulerSpecCLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(ThanosRulerSpecCLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public ThanosRulerSpecCLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(ThanosRulerSpecCLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public ThanosRulerSpecCReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(ThanosRulerSpecCReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public ThanosRulerSpecCResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ThanosRulerSpecCResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public ThanosRulerSpecCSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ThanosRulerSpecCSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public ThanosRulerSpecCStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(ThanosRulerSpecCStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public ThanosRulerSpecContainersBuilder edit() { + return new ThanosRulerSpecContainersBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecExcludedFromEnforcement.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecExcludedFromEnforcement.java new file mode 100644 index 00000000000..ca44da262b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecExcludedFromEnforcement.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "group", + "name", + "namespace", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecExcludedFromEnforcement implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecExcludedFromEnforcement() { + } + + public ThanosRulerSpecExcludedFromEnforcement(String group, String name, String namespace, String resource) { + super(); + this.group = group; + this.name = name; + this.namespace = namespace; + this.resource = resource; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ThanosRulerSpecExcludedFromEnforcementBuilder edit() { + return new ThanosRulerSpecExcludedFromEnforcementBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecExcludedFromEnforcementBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap.java new file mode 100644 index 00000000000..630871375dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCConfigMap() { + } + + public ThanosRulerSpecGSTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCConfigMapBuilder edit() { + return new ThanosRulerSpecGSTCCConfigMapBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap_1.java new file mode 100644 index 00000000000..4cdc8ad4470 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCConfigMap_1() { + } + + public ThanosRulerSpecGSTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCConfigMap_1Builder edit() { + return new ThanosRulerSpecGSTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret.java new file mode 100644 index 00000000000..b4935e97f8d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCSecret() { + } + + public ThanosRulerSpecGSTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCSecretBuilder edit() { + return new ThanosRulerSpecGSTCCSecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret_1.java new file mode 100644 index 00000000000..0f925519458 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCSecret_1() { + } + + public ThanosRulerSpecGSTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCSecret_1Builder edit() { + return new ThanosRulerSpecGSTCCSecret_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCa.java new file mode 100644 index 00000000000..1f046fcf7a1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ThanosRulerSpecGSTCCConfigMap configMap; + @JsonProperty("secret") + private ThanosRulerSpecGSTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCa() { + } + + public ThanosRulerSpecGSTCCa(ThanosRulerSpecGSTCCConfigMap configMap, ThanosRulerSpecGSTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ThanosRulerSpecGSTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecGSTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ThanosRulerSpecGSTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecGSTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCaBuilder edit() { + return new ThanosRulerSpecGSTCCaBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCert.java new file mode 100644 index 00000000000..36368542d9f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ThanosRulerSpecGSTCCConfigMap_1 configMap; + @JsonProperty("secret") + private ThanosRulerSpecGSTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCCert() { + } + + public ThanosRulerSpecGSTCCert(ThanosRulerSpecGSTCCConfigMap_1 configMap, ThanosRulerSpecGSTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ThanosRulerSpecGSTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecGSTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ThanosRulerSpecGSTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecGSTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public ThanosRulerSpecGSTCCertBuilder edit() { + return new ThanosRulerSpecGSTCCertBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCKeySecret.java new file mode 100644 index 00000000000..75b46807d2f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGSTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGSTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGSTCKeySecret() { + } + + public ThanosRulerSpecGSTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecGSTCKeySecretBuilder edit() { + return new ThanosRulerSpecGSTCKeySecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGSTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGrpcServerTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGrpcServerTlsConfig.java new file mode 100644 index 00000000000..c00bf428316 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecGrpcServerTlsConfig.java @@ -0,0 +1,206 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "caFile", + "cert", + "certFile", + "insecureSkipVerify", + "keyFile", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecGrpcServerTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private ThanosRulerSpecGSTCCa ca; + @JsonProperty("caFile") + private String caFile; + @JsonProperty("cert") + private ThanosRulerSpecGSTCCert cert; + @JsonProperty("certFile") + private String certFile; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keyFile") + private String keyFile; + @JsonProperty("keySecret") + private ThanosRulerSpecGSTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecGrpcServerTlsConfig() { + } + + public ThanosRulerSpecGrpcServerTlsConfig(ThanosRulerSpecGSTCCa ca, String caFile, ThanosRulerSpecGSTCCert cert, String certFile, Boolean insecureSkipVerify, String keyFile, ThanosRulerSpecGSTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.caFile = caFile; + this.cert = cert; + this.certFile = certFile; + this.insecureSkipVerify = insecureSkipVerify; + this.keyFile = keyFile; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public ThanosRulerSpecGSTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(ThanosRulerSpecGSTCCa ca) { + this.ca = ca; + } + + @JsonProperty("caFile") + public String getCaFile() { + return caFile; + } + + @JsonProperty("caFile") + public void setCaFile(String caFile) { + this.caFile = caFile; + } + + @JsonProperty("cert") + public ThanosRulerSpecGSTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(ThanosRulerSpecGSTCCert cert) { + this.cert = cert; + } + + @JsonProperty("certFile") + public String getCertFile() { + return certFile; + } + + @JsonProperty("certFile") + public void setCertFile(String certFile) { + this.certFile = certFile; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keyFile") + public String getKeyFile() { + return keyFile; + } + + @JsonProperty("keyFile") + public void setKeyFile(String keyFile) { + this.keyFile = keyFile; + } + + @JsonProperty("keySecret") + public ThanosRulerSpecGSTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(ThanosRulerSpecGSTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public ThanosRulerSpecGrpcServerTlsConfigBuilder edit() { + return new ThanosRulerSpecGrpcServerTlsConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecGrpcServerTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecHostAliases.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecHostAliases.java new file mode 100644 index 00000000000..cf01fe5834e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecHostAliases.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "hostnames", + "ip" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecHostAliases implements Editable , KubernetesResource +{ + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List hostnames = new ArrayList<>(); + @JsonProperty("ip") + private String ip; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecHostAliases() { + } + + public ThanosRulerSpecHostAliases(List hostnames, String ip) { + super(); + this.hostnames = hostnames; + this.ip = ip; + } + + @JsonProperty("hostnames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHostnames() { + return hostnames; + } + + @JsonProperty("hostnames") + public void setHostnames(List hostnames) { + this.hostnames = hostnames; + } + + @JsonProperty("ip") + public String getIp() { + return ip; + } + + @JsonProperty("ip") + public void setIp(String ip) { + this.ip = ip; + } + + @JsonIgnore + public ThanosRulerSpecHostAliasesBuilder edit() { + return new ThanosRulerSpecHostAliasesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecHostAliasesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFConfigMapRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFConfigMapRef.java new file mode 100644 index 00000000000..3e209cee1e3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFConfigMapRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEFConfigMapRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEFConfigMapRef() { + } + + public ThanosRulerSpecICEFConfigMapRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecICEFConfigMapRefBuilder edit() { + return new ThanosRulerSpecICEFConfigMapRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEFConfigMapRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFSecretRef.java new file mode 100644 index 00000000000..9abc5e6cf4f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEFSecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEFSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEFSecretRef() { + } + + public ThanosRulerSpecICEFSecretRef(String name, Boolean optional) { + super(); + this.name = name; + this.optional = optional; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecICEFSecretRefBuilder edit() { + return new ThanosRulerSpecICEFSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEFSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFConfigMapKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFConfigMapKeyRef.java new file mode 100644 index 00000000000..0d117129d8c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFConfigMapKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEVFConfigMapKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEVFConfigMapKeyRef() { + } + + public ThanosRulerSpecICEVFConfigMapKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecICEVFConfigMapKeyRefBuilder edit() { + return new ThanosRulerSpecICEVFConfigMapKeyRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEVFConfigMapKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFFieldRef.java new file mode 100644 index 00000000000..1134a4241cc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEVFFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEVFFieldRef() { + } + + public ThanosRulerSpecICEVFFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public ThanosRulerSpecICEVFFieldRefBuilder edit() { + return new ThanosRulerSpecICEVFFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEVFFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFResourceFieldRef.java new file mode 100644 index 00000000000..c57c9009f9e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEVFResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEVFResourceFieldRef() { + } + + public ThanosRulerSpecICEVFResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ThanosRulerSpecICEVFResourceFieldRefBuilder edit() { + return new ThanosRulerSpecICEVFResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEVFResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFSecretKeyRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFSecretKeyRef.java new file mode 100644 index 00000000000..ff89371bfc8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEVFSecretKeyRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEVFSecretKeyRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEVFSecretKeyRef() { + } + + public ThanosRulerSpecICEVFSecretKeyRef(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecICEVFSecretKeyRefBuilder edit() { + return new ThanosRulerSpecICEVFSecretKeyRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEVFSecretKeyRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEValueFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEValueFrom.java new file mode 100644 index 00000000000..5f456fd4986 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEValueFrom.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapKeyRef", + "fieldRef", + "resourceFieldRef", + "secretKeyRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEValueFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapKeyRef") + private ThanosRulerSpecICEVFConfigMapKeyRef configMapKeyRef; + @JsonProperty("fieldRef") + private ThanosRulerSpecICEVFFieldRef fieldRef; + @JsonProperty("resourceFieldRef") + private ThanosRulerSpecICEVFResourceFieldRef resourceFieldRef; + @JsonProperty("secretKeyRef") + private ThanosRulerSpecICEVFSecretKeyRef secretKeyRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEValueFrom() { + } + + public ThanosRulerSpecICEValueFrom(ThanosRulerSpecICEVFConfigMapKeyRef configMapKeyRef, ThanosRulerSpecICEVFFieldRef fieldRef, ThanosRulerSpecICEVFResourceFieldRef resourceFieldRef, ThanosRulerSpecICEVFSecretKeyRef secretKeyRef) { + super(); + this.configMapKeyRef = configMapKeyRef; + this.fieldRef = fieldRef; + this.resourceFieldRef = resourceFieldRef; + this.secretKeyRef = secretKeyRef; + } + + @JsonProperty("configMapKeyRef") + public ThanosRulerSpecICEVFConfigMapKeyRef getConfigMapKeyRef() { + return configMapKeyRef; + } + + @JsonProperty("configMapKeyRef") + public void setConfigMapKeyRef(ThanosRulerSpecICEVFConfigMapKeyRef configMapKeyRef) { + this.configMapKeyRef = configMapKeyRef; + } + + @JsonProperty("fieldRef") + public ThanosRulerSpecICEVFFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ThanosRulerSpecICEVFFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("resourceFieldRef") + public ThanosRulerSpecICEVFResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ThanosRulerSpecICEVFResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("secretKeyRef") + public ThanosRulerSpecICEVFSecretKeyRef getSecretKeyRef() { + return secretKeyRef; + } + + @JsonProperty("secretKeyRef") + public void setSecretKeyRef(ThanosRulerSpecICEVFSecretKeyRef secretKeyRef) { + this.secretKeyRef = secretKeyRef; + } + + @JsonIgnore + public ThanosRulerSpecICEValueFromBuilder edit() { + return new ThanosRulerSpecICEValueFromBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEValueFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnv.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnv.java new file mode 100644 index 00000000000..5650f95fe08 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnv.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value", + "valueFrom" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEnv implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonProperty("valueFrom") + private ThanosRulerSpecICEValueFrom valueFrom; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEnv() { + } + + public ThanosRulerSpecICEnv(String name, String value, ThanosRulerSpecICEValueFrom valueFrom) { + super(); + this.name = name; + this.value = value; + this.valueFrom = valueFrom; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("valueFrom") + public ThanosRulerSpecICEValueFrom getValueFrom() { + return valueFrom; + } + + @JsonProperty("valueFrom") + public void setValueFrom(ThanosRulerSpecICEValueFrom valueFrom) { + this.valueFrom = valueFrom; + } + + @JsonIgnore + public ThanosRulerSpecICEnvBuilder edit() { + return new ThanosRulerSpecICEnvBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEnvBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnvFrom.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnvFrom.java new file mode 100644 index 00000000000..5adfbbefbe8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICEnvFrom.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMapRef", + "prefix", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICEnvFrom implements Editable , KubernetesResource +{ + + @JsonProperty("configMapRef") + private ThanosRulerSpecICEFConfigMapRef configMapRef; + @JsonProperty("prefix") + private String prefix; + @JsonProperty("secretRef") + private ThanosRulerSpecICEFSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICEnvFrom() { + } + + public ThanosRulerSpecICEnvFrom(ThanosRulerSpecICEFConfigMapRef configMapRef, String prefix, ThanosRulerSpecICEFSecretRef secretRef) { + super(); + this.configMapRef = configMapRef; + this.prefix = prefix; + this.secretRef = secretRef; + } + + @JsonProperty("configMapRef") + public ThanosRulerSpecICEFConfigMapRef getConfigMapRef() { + return configMapRef; + } + + @JsonProperty("configMapRef") + public void setConfigMapRef(ThanosRulerSpecICEFConfigMapRef configMapRef) { + this.configMapRef = configMapRef; + } + + @JsonProperty("prefix") + public String getPrefix() { + return prefix; + } + + @JsonProperty("prefix") + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecICEFSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecICEFSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ThanosRulerSpecICEnvFromBuilder edit() { + return new ThanosRulerSpecICEnvFromBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICEnvFromBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPExec.java new file mode 100644 index 00000000000..2967ad863de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPExec() { + } + + public ThanosRulerSpecICLPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecICLPExecBuilder edit() { + return new ThanosRulerSpecICLPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPGrpc.java new file mode 100644 index 00000000000..248574800f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPGrpc() { + } + + public ThanosRulerSpecICLPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecICLPGrpcBuilder edit() { + return new ThanosRulerSpecICLPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPHttpGet.java new file mode 100644 index 00000000000..46249cf68d3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPHttpGet() { + } + + public ThanosRulerSpecICLPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecICLPHttpGetBuilder edit() { + return new ThanosRulerSpecICLPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec.java new file mode 100644 index 00000000000..6c725f257ef --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSExec() { + } + + public ThanosRulerSpecICLPSExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecICLPSExecBuilder edit() { + return new ThanosRulerSpecICLPSExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec_1.java new file mode 100644 index 00000000000..95320f4c7cf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSExec_1.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSExec_1 implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSExec_1() { + } + + public ThanosRulerSpecICLPSExec_1(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecICLPSExec_1Builder edit() { + return new ThanosRulerSpecICLPSExec_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSExec_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet.java new file mode 100644 index 00000000000..9a75f770716 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSHttpGet() { + } + + public ThanosRulerSpecICLPSHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecICLPSHttpGetBuilder edit() { + return new ThanosRulerSpecICLPSHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet_1.java new file mode 100644 index 00000000000..2ab39db2506 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSHttpGet_1.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSHttpGet_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSHttpGet_1() { + } + + public ThanosRulerSpecICLPSHttpGet_1(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecICLPSHttpGet_1Builder edit() { + return new ThanosRulerSpecICLPSHttpGet_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSHttpGet_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep.java new file mode 100644 index 00000000000..4717406c345 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSSleep implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSSleep() { + } + + public ThanosRulerSpecICLPSSleep(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ThanosRulerSpecICLPSSleepBuilder edit() { + return new ThanosRulerSpecICLPSSleepBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSSleepBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep_1.java new file mode 100644 index 00000000000..4dd04afce26 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSSleep_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "seconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSSleep_1 implements Editable , KubernetesResource +{ + + @JsonProperty("seconds") + private Long seconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSSleep_1() { + } + + public ThanosRulerSpecICLPSSleep_1(Long seconds) { + super(); + this.seconds = seconds; + } + + @JsonProperty("seconds") + public Long getSeconds() { + return seconds; + } + + @JsonProperty("seconds") + public void setSeconds(Long seconds) { + this.seconds = seconds; + } + + @JsonIgnore + public ThanosRulerSpecICLPSSleep_1Builder edit() { + return new ThanosRulerSpecICLPSSleep_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSSleep_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket.java new file mode 100644 index 00000000000..7ee619f8779 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSTcpSocket() { + } + + public ThanosRulerSpecICLPSTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecICLPSTcpSocketBuilder edit() { + return new ThanosRulerSpecICLPSTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket_1.java new file mode 100644 index 00000000000..bc251f3de52 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPSTcpSocket_1.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPSTcpSocket_1 implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPSTcpSocket_1() { + } + + public ThanosRulerSpecICLPSTcpSocket_1(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecICLPSTcpSocket_1Builder edit() { + return new ThanosRulerSpecICLPSTcpSocket_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPSTcpSocket_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPTcpSocket.java new file mode 100644 index 00000000000..ff1d2e6ff7b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPTcpSocket() { + } + + public ThanosRulerSpecICLPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecICLPTcpSocketBuilder edit() { + return new ThanosRulerSpecICLPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPostStart.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPostStart.java new file mode 100644 index 00000000000..9e44f2a078c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPostStart.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPostStart implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecICLPSExec exec; + @JsonProperty("httpGet") + private ThanosRulerSpecICLPSHttpGet httpGet; + @JsonProperty("sleep") + private ThanosRulerSpecICLPSSleep sleep; + @JsonProperty("tcpSocket") + private ThanosRulerSpecICLPSTcpSocket tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPostStart() { + } + + public ThanosRulerSpecICLPostStart(ThanosRulerSpecICLPSExec exec, ThanosRulerSpecICLPSHttpGet httpGet, ThanosRulerSpecICLPSSleep sleep, ThanosRulerSpecICLPSTcpSocket tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ThanosRulerSpecICLPSExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecICLPSExec exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecICLPSHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecICLPSHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ThanosRulerSpecICLPSSleep getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ThanosRulerSpecICLPSSleep sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecICLPSTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecICLPSTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ThanosRulerSpecICLPostStartBuilder edit() { + return new ThanosRulerSpecICLPostStartBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPostStartBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPreStop.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPreStop.java new file mode 100644 index 00000000000..7b8adccd1a6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLPreStop.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "httpGet", + "sleep", + "tcpSocket" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLPreStop implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecICLPSExec_1 exec; + @JsonProperty("httpGet") + private ThanosRulerSpecICLPSHttpGet_1 httpGet; + @JsonProperty("sleep") + private ThanosRulerSpecICLPSSleep_1 sleep; + @JsonProperty("tcpSocket") + private ThanosRulerSpecICLPSTcpSocket_1 tcpSocket; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLPreStop() { + } + + public ThanosRulerSpecICLPreStop(ThanosRulerSpecICLPSExec_1 exec, ThanosRulerSpecICLPSHttpGet_1 httpGet, ThanosRulerSpecICLPSSleep_1 sleep, ThanosRulerSpecICLPSTcpSocket_1 tcpSocket) { + super(); + this.exec = exec; + this.httpGet = httpGet; + this.sleep = sleep; + this.tcpSocket = tcpSocket; + } + + @JsonProperty("exec") + public ThanosRulerSpecICLPSExec_1 getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecICLPSExec_1 exec) { + this.exec = exec; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecICLPSHttpGet_1 getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecICLPSHttpGet_1 httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("sleep") + public ThanosRulerSpecICLPSSleep_1 getSleep() { + return sleep; + } + + @JsonProperty("sleep") + public void setSleep(ThanosRulerSpecICLPSSleep_1 sleep) { + this.sleep = sleep; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecICLPSTcpSocket_1 getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecICLPSTcpSocket_1 tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonIgnore + public ThanosRulerSpecICLPreStopBuilder edit() { + return new ThanosRulerSpecICLPreStopBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLPreStopBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLifecycle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLifecycle.java new file mode 100644 index 00000000000..25045371970 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLifecycle.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "postStart", + "preStop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLifecycle implements Editable , KubernetesResource +{ + + @JsonProperty("postStart") + private ThanosRulerSpecICLPostStart postStart; + @JsonProperty("preStop") + private ThanosRulerSpecICLPreStop preStop; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLifecycle() { + } + + public ThanosRulerSpecICLifecycle(ThanosRulerSpecICLPostStart postStart, ThanosRulerSpecICLPreStop preStop) { + super(); + this.postStart = postStart; + this.preStop = preStop; + } + + @JsonProperty("postStart") + public ThanosRulerSpecICLPostStart getPostStart() { + return postStart; + } + + @JsonProperty("postStart") + public void setPostStart(ThanosRulerSpecICLPostStart postStart) { + this.postStart = postStart; + } + + @JsonProperty("preStop") + public ThanosRulerSpecICLPreStop getPreStop() { + return preStop; + } + + @JsonProperty("preStop") + public void setPreStop(ThanosRulerSpecICLPreStop preStop) { + this.preStop = preStop; + } + + @JsonIgnore + public ThanosRulerSpecICLifecycleBuilder edit() { + return new ThanosRulerSpecICLifecycleBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLifecycleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLivenessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLivenessProbe.java new file mode 100644 index 00000000000..c4ad32c1bb5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICLivenessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICLivenessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecICLPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecICLPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecICLPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecICLPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICLivenessProbe() { + } + + public ThanosRulerSpecICLivenessProbe(ThanosRulerSpecICLPExec exec, Integer failureThreshold, ThanosRulerSpecICLPGrpc grpc, ThanosRulerSpecICLPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecICLPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecICLPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecICLPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecICLPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecICLPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecICLPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecICLPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecICLPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecICLPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecICLivenessProbeBuilder edit() { + return new ThanosRulerSpecICLivenessProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICLivenessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICPorts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICPorts.java new file mode 100644 index 00000000000..2ddc8d1510d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICPorts.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerPort", + "hostIP", + "hostPort", + "name", + "protocol" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICPorts implements Editable , KubernetesResource +{ + + @JsonProperty("containerPort") + private Integer containerPort; + @JsonProperty("hostIP") + private String hostIP; + @JsonProperty("hostPort") + private Integer hostPort; + @JsonProperty("name") + private String name; + @JsonProperty("protocol") + private String protocol; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICPorts() { + } + + public ThanosRulerSpecICPorts(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol) { + super(); + this.containerPort = containerPort; + this.hostIP = hostIP; + this.hostPort = hostPort; + this.name = name; + this.protocol = protocol; + } + + @JsonProperty("containerPort") + public Integer getContainerPort() { + return containerPort; + } + + @JsonProperty("containerPort") + public void setContainerPort(Integer containerPort) { + this.containerPort = containerPort; + } + + @JsonProperty("hostIP") + public String getHostIP() { + return hostIP; + } + + @JsonProperty("hostIP") + public void setHostIP(String hostIP) { + this.hostIP = hostIP; + } + + @JsonProperty("hostPort") + public Integer getHostPort() { + return hostPort; + } + + @JsonProperty("hostPort") + public void setHostPort(Integer hostPort) { + this.hostPort = hostPort; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("protocol") + public String getProtocol() { + return protocol; + } + + @JsonProperty("protocol") + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + @JsonIgnore + public ThanosRulerSpecICPortsBuilder edit() { + return new ThanosRulerSpecICPortsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICPortsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPExec.java new file mode 100644 index 00000000000..abf90b888e8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICRPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICRPExec() { + } + + public ThanosRulerSpecICRPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecICRPExecBuilder edit() { + return new ThanosRulerSpecICRPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICRPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPGrpc.java new file mode 100644 index 00000000000..fd5fcc423f6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICRPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICRPGrpc() { + } + + public ThanosRulerSpecICRPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecICRPGrpcBuilder edit() { + return new ThanosRulerSpecICRPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICRPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPHttpGet.java new file mode 100644 index 00000000000..46c36c31809 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICRPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICRPHttpGet() { + } + + public ThanosRulerSpecICRPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecICRPHttpGetBuilder edit() { + return new ThanosRulerSpecICRPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICRPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPTcpSocket.java new file mode 100644 index 00000000000..520c8fda14b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICRPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICRPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICRPTcpSocket() { + } + + public ThanosRulerSpecICRPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecICRPTcpSocketBuilder edit() { + return new ThanosRulerSpecICRPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICRPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICReadinessProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICReadinessProbe.java new file mode 100644 index 00000000000..108ceb4dd56 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICReadinessProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICReadinessProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecICRPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecICRPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecICRPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecICRPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICReadinessProbe() { + } + + public ThanosRulerSpecICReadinessProbe(ThanosRulerSpecICRPExec exec, Integer failureThreshold, ThanosRulerSpecICRPGrpc grpc, ThanosRulerSpecICRPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecICRPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecICRPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecICRPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecICRPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecICRPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecICRPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecICRPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecICRPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecICRPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecICReadinessProbeBuilder edit() { + return new ThanosRulerSpecICReadinessProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICReadinessProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICResources.java new file mode 100644 index 00000000000..480d664a655 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICResources() { + } + + public ThanosRulerSpecICResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecICResourcesBuilder edit() { + return new ThanosRulerSpecICResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCCapabilities.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCCapabilities.java new file mode 100644 index 00000000000..fecceb09d88 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCCapabilities.java @@ -0,0 +1,128 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "add", + "drop" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSCCapabilities implements Editable , KubernetesResource +{ + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List add = new ArrayList<>(); + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List drop = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSCCapabilities() { + } + + public ThanosRulerSpecICSCCapabilities(List add, List drop) { + super(); + this.add = add; + this.drop = drop; + } + + @JsonProperty("add") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAdd() { + return add; + } + + @JsonProperty("add") + public void setAdd(List add) { + this.add = add; + } + + @JsonProperty("drop") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDrop() { + return drop; + } + + @JsonProperty("drop") + public void setDrop(List drop) { + this.drop = drop; + } + + @JsonIgnore + public ThanosRulerSpecICSCCapabilitiesBuilder edit() { + return new ThanosRulerSpecICSCCapabilitiesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSCCapabilitiesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeLinuxOptions.java new file mode 100644 index 00000000000..3c69c015948 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSCSeLinuxOptions() { + } + + public ThanosRulerSpecICSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ThanosRulerSpecICSCSeLinuxOptionsBuilder edit() { + return new ThanosRulerSpecICSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeccompProfile.java new file mode 100644 index 00000000000..c7db2a3e775 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSCSeccompProfile() { + } + + public ThanosRulerSpecICSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerSpecICSCSeccompProfileBuilder edit() { + return new ThanosRulerSpecICSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCWindowsOptions.java new file mode 100644 index 00000000000..cbcfd9f8e27 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSCWindowsOptions() { + } + + public ThanosRulerSpecICSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ThanosRulerSpecICSCWindowsOptionsBuilder edit() { + return new ThanosRulerSpecICSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPExec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPExec.java new file mode 100644 index 00000000000..df5c58cd7b5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPExec.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "command" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSPExec implements Editable , KubernetesResource +{ + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSPExec() { + } + + public ThanosRulerSpecICSPExec(List command) { + super(); + this.command = command; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonIgnore + public ThanosRulerSpecICSPExecBuilder edit() { + return new ThanosRulerSpecICSPExecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSPExecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPGrpc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPGrpc.java new file mode 100644 index 00000000000..bb5abc24169 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPGrpc.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "port", + "service" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSPGrpc implements Editable , KubernetesResource +{ + + @JsonProperty("port") + private Integer port; + @JsonProperty("service") + private String service; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSPGrpc() { + } + + public ThanosRulerSpecICSPGrpc(Integer port, String service) { + super(); + this.port = port; + this.service = service; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("service") + public String getService() { + return service; + } + + @JsonProperty("service") + public void setService(String service) { + this.service = service; + } + + @JsonIgnore + public ThanosRulerSpecICSPGrpcBuilder edit() { + return new ThanosRulerSpecICSPGrpcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSPGrpcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPHttpGet.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPHttpGet.java new file mode 100644 index 00000000000..2533e2ce57c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPHttpGet.java @@ -0,0 +1,171 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HTTPHeader; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "httpHeaders", + "path", + "port", + "scheme" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSPHttpGet implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List httpHeaders = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonProperty("scheme") + private String scheme; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSPHttpGet() { + } + + public ThanosRulerSpecICSPHttpGet(String host, List httpHeaders, String path, Object port, String scheme) { + super(); + this.host = host; + this.httpHeaders = httpHeaders; + this.path = path; + this.port = port; + this.scheme = scheme; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("httpHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getHttpHeaders() { + return httpHeaders; + } + + @JsonProperty("httpHeaders") + public void setHttpHeaders(List httpHeaders) { + this.httpHeaders = httpHeaders; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonProperty("scheme") + public String getScheme() { + return scheme; + } + + @JsonProperty("scheme") + public void setScheme(String scheme) { + this.scheme = scheme; + } + + @JsonIgnore + public ThanosRulerSpecICSPHttpGetBuilder edit() { + return new ThanosRulerSpecICSPHttpGetBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSPHttpGetBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPTcpSocket.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPTcpSocket.java new file mode 100644 index 00000000000..3be557e6ff5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSPTcpSocket.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "host", + "port" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSPTcpSocket implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSPTcpSocket() { + } + + public ThanosRulerSpecICSPTcpSocket(String host, Object port) { + super(); + this.host = host; + this.port = port; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("port") + public Object getPort() { + return port; + } + + @JsonProperty("port") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPort(Object port) { + this.port = port; + } + + @JsonIgnore + public ThanosRulerSpecICSPTcpSocketBuilder edit() { + return new ThanosRulerSpecICSPTcpSocketBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSPTcpSocketBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSecurityContext.java new file mode 100644 index 00000000000..ce96ca4219a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICSecurityContext.java @@ -0,0 +1,248 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "allowPrivilegeEscalation", + "capabilities", + "privileged", + "procMount", + "readOnlyRootFilesystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("allowPrivilegeEscalation") + private Boolean allowPrivilegeEscalation; + @JsonProperty("capabilities") + private ThanosRulerSpecICSCCapabilities capabilities; + @JsonProperty("privileged") + private Boolean privileged; + @JsonProperty("procMount") + private String procMount; + @JsonProperty("readOnlyRootFilesystem") + private Boolean readOnlyRootFilesystem; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ThanosRulerSpecICSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ThanosRulerSpecICSCSeccompProfile seccompProfile; + @JsonProperty("windowsOptions") + private ThanosRulerSpecICSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICSecurityContext() { + } + + public ThanosRulerSpecICSecurityContext(Boolean allowPrivilegeEscalation, ThanosRulerSpecICSCCapabilities capabilities, Boolean privileged, String procMount, Boolean readOnlyRootFilesystem, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ThanosRulerSpecICSCSeLinuxOptions seLinuxOptions, ThanosRulerSpecICSCSeccompProfile seccompProfile, ThanosRulerSpecICSCWindowsOptions windowsOptions) { + super(); + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + this.capabilities = capabilities; + this.privileged = privileged; + this.procMount = procMount; + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("allowPrivilegeEscalation") + public Boolean getAllowPrivilegeEscalation() { + return allowPrivilegeEscalation; + } + + @JsonProperty("allowPrivilegeEscalation") + public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation) { + this.allowPrivilegeEscalation = allowPrivilegeEscalation; + } + + @JsonProperty("capabilities") + public ThanosRulerSpecICSCCapabilities getCapabilities() { + return capabilities; + } + + @JsonProperty("capabilities") + public void setCapabilities(ThanosRulerSpecICSCCapabilities capabilities) { + this.capabilities = capabilities; + } + + @JsonProperty("privileged") + public Boolean getPrivileged() { + return privileged; + } + + @JsonProperty("privileged") + public void setPrivileged(Boolean privileged) { + this.privileged = privileged; + } + + @JsonProperty("procMount") + public String getProcMount() { + return procMount; + } + + @JsonProperty("procMount") + public void setProcMount(String procMount) { + this.procMount = procMount; + } + + @JsonProperty("readOnlyRootFilesystem") + public Boolean getReadOnlyRootFilesystem() { + return readOnlyRootFilesystem; + } + + @JsonProperty("readOnlyRootFilesystem") + public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem) { + this.readOnlyRootFilesystem = readOnlyRootFilesystem; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ThanosRulerSpecICSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ThanosRulerSpecICSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ThanosRulerSpecICSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ThanosRulerSpecICSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("windowsOptions") + public ThanosRulerSpecICSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ThanosRulerSpecICSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ThanosRulerSpecICSecurityContextBuilder edit() { + return new ThanosRulerSpecICSecurityContextBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICStartupProbe.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICStartupProbe.java new file mode 100644 index 00000000000..7aece2ecde1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICStartupProbe.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "exec", + "failureThreshold", + "grpc", + "httpGet", + "initialDelaySeconds", + "periodSeconds", + "successThreshold", + "tcpSocket", + "terminationGracePeriodSeconds", + "timeoutSeconds" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICStartupProbe implements Editable , KubernetesResource +{ + + @JsonProperty("exec") + private ThanosRulerSpecICSPExec exec; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("grpc") + private ThanosRulerSpecICSPGrpc grpc; + @JsonProperty("httpGet") + private ThanosRulerSpecICSPHttpGet httpGet; + @JsonProperty("initialDelaySeconds") + private Integer initialDelaySeconds; + @JsonProperty("periodSeconds") + private Integer periodSeconds; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("tcpSocket") + private ThanosRulerSpecICSPTcpSocket tcpSocket; + @JsonProperty("terminationGracePeriodSeconds") + private Long terminationGracePeriodSeconds; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICStartupProbe() { + } + + public ThanosRulerSpecICStartupProbe(ThanosRulerSpecICSPExec exec, Integer failureThreshold, ThanosRulerSpecICSPGrpc grpc, ThanosRulerSpecICSPHttpGet httpGet, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, ThanosRulerSpecICSPTcpSocket tcpSocket, Long terminationGracePeriodSeconds, Integer timeoutSeconds) { + super(); + this.exec = exec; + this.failureThreshold = failureThreshold; + this.grpc = grpc; + this.httpGet = httpGet; + this.initialDelaySeconds = initialDelaySeconds; + this.periodSeconds = periodSeconds; + this.successThreshold = successThreshold; + this.tcpSocket = tcpSocket; + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + this.timeoutSeconds = timeoutSeconds; + } + + @JsonProperty("exec") + public ThanosRulerSpecICSPExec getExec() { + return exec; + } + + @JsonProperty("exec") + public void setExec(ThanosRulerSpecICSPExec exec) { + this.exec = exec; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("grpc") + public ThanosRulerSpecICSPGrpc getGrpc() { + return grpc; + } + + @JsonProperty("grpc") + public void setGrpc(ThanosRulerSpecICSPGrpc grpc) { + this.grpc = grpc; + } + + @JsonProperty("httpGet") + public ThanosRulerSpecICSPHttpGet getHttpGet() { + return httpGet; + } + + @JsonProperty("httpGet") + public void setHttpGet(ThanosRulerSpecICSPHttpGet httpGet) { + this.httpGet = httpGet; + } + + @JsonProperty("initialDelaySeconds") + public Integer getInitialDelaySeconds() { + return initialDelaySeconds; + } + + @JsonProperty("initialDelaySeconds") + public void setInitialDelaySeconds(Integer initialDelaySeconds) { + this.initialDelaySeconds = initialDelaySeconds; + } + + @JsonProperty("periodSeconds") + public Integer getPeriodSeconds() { + return periodSeconds; + } + + @JsonProperty("periodSeconds") + public void setPeriodSeconds(Integer periodSeconds) { + this.periodSeconds = periodSeconds; + } + + @JsonProperty("successThreshold") + public Integer getSuccessThreshold() { + return successThreshold; + } + + @JsonProperty("successThreshold") + public void setSuccessThreshold(Integer successThreshold) { + this.successThreshold = successThreshold; + } + + @JsonProperty("tcpSocket") + public ThanosRulerSpecICSPTcpSocket getTcpSocket() { + return tcpSocket; + } + + @JsonProperty("tcpSocket") + public void setTcpSocket(ThanosRulerSpecICSPTcpSocket tcpSocket) { + this.tcpSocket = tcpSocket; + } + + @JsonProperty("terminationGracePeriodSeconds") + public Long getTerminationGracePeriodSeconds() { + return terminationGracePeriodSeconds; + } + + @JsonProperty("terminationGracePeriodSeconds") + public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) { + this.terminationGracePeriodSeconds = terminationGracePeriodSeconds; + } + + @JsonProperty("timeoutSeconds") + public Integer getTimeoutSeconds() { + return timeoutSeconds; + } + + @JsonProperty("timeoutSeconds") + public void setTimeoutSeconds(Integer timeoutSeconds) { + this.timeoutSeconds = timeoutSeconds; + } + + @JsonIgnore + public ThanosRulerSpecICStartupProbeBuilder edit() { + return new ThanosRulerSpecICStartupProbeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICStartupProbeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICVolumeMounts.java new file mode 100644 index 00000000000..4d270a1484b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecICVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecICVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecICVolumeMounts() { + } + + public ThanosRulerSpecICVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ThanosRulerSpecICVolumeMountsBuilder edit() { + return new ThanosRulerSpecICVolumeMountsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecICVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecImagePullSecrets.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecImagePullSecrets.java new file mode 100644 index 00000000000..7b9222adc49 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecImagePullSecrets.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecImagePullSecrets implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecImagePullSecrets() { + } + + public ThanosRulerSpecImagePullSecrets(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecImagePullSecretsBuilder edit() { + return new ThanosRulerSpecImagePullSecretsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecImagePullSecretsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecInitContainers.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecInitContainers.java new file mode 100644 index 00000000000..0522ab8abe6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecInitContainers.java @@ -0,0 +1,450 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerResizePolicy; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "env", + "envFrom", + "image", + "imagePullPolicy", + "lifecycle", + "livenessProbe", + "name", + "ports", + "readinessProbe", + "resizePolicy", + "resources", + "restartPolicy", + "securityContext", + "startupProbe", + "stdin", + "stdinOnce", + "terminationMessagePath", + "terminationMessagePolicy", + "tty", + "volumeDevices", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecInitContainers implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List envFrom = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("imagePullPolicy") + private String imagePullPolicy; + @JsonProperty("lifecycle") + private ThanosRulerSpecICLifecycle lifecycle; + @JsonProperty("livenessProbe") + private ThanosRulerSpecICLivenessProbe livenessProbe; + @JsonProperty("name") + private String name; + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List ports = new ArrayList<>(); + @JsonProperty("readinessProbe") + private ThanosRulerSpecICReadinessProbe readinessProbe; + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resizePolicy = new ArrayList<>(); + @JsonProperty("resources") + private ThanosRulerSpecICResources resources; + @JsonProperty("restartPolicy") + private String restartPolicy; + @JsonProperty("securityContext") + private ThanosRulerSpecICSecurityContext securityContext; + @JsonProperty("startupProbe") + private ThanosRulerSpecICStartupProbe startupProbe; + @JsonProperty("stdin") + private Boolean stdin; + @JsonProperty("stdinOnce") + private Boolean stdinOnce; + @JsonProperty("terminationMessagePath") + private String terminationMessagePath; + @JsonProperty("terminationMessagePolicy") + private String terminationMessagePolicy; + @JsonProperty("tty") + private Boolean tty; + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeDevices = new ArrayList<>(); + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecInitContainers() { + } + + public ThanosRulerSpecInitContainers(List args, List command, List env, List envFrom, String image, String imagePullPolicy, ThanosRulerSpecICLifecycle lifecycle, ThanosRulerSpecICLivenessProbe livenessProbe, String name, List ports, ThanosRulerSpecICReadinessProbe readinessProbe, List resizePolicy, ThanosRulerSpecICResources resources, String restartPolicy, ThanosRulerSpecICSecurityContext securityContext, ThanosRulerSpecICStartupProbe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.env = env; + this.envFrom = envFrom; + this.image = image; + this.imagePullPolicy = imagePullPolicy; + this.lifecycle = lifecycle; + this.livenessProbe = livenessProbe; + this.name = name; + this.ports = ports; + this.readinessProbe = readinessProbe; + this.resizePolicy = resizePolicy; + this.resources = resources; + this.restartPolicy = restartPolicy; + this.securityContext = securityContext; + this.startupProbe = startupProbe; + this.stdin = stdin; + this.stdinOnce = stdinOnce; + this.terminationMessagePath = terminationMessagePath; + this.terminationMessagePolicy = terminationMessagePolicy; + this.tty = tty; + this.volumeDevices = volumeDevices; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("envFrom") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnvFrom() { + return envFrom; + } + + @JsonProperty("envFrom") + public void setEnvFrom(List envFrom) { + this.envFrom = envFrom; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("imagePullPolicy") + public String getImagePullPolicy() { + return imagePullPolicy; + } + + @JsonProperty("imagePullPolicy") + public void setImagePullPolicy(String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + } + + @JsonProperty("lifecycle") + public ThanosRulerSpecICLifecycle getLifecycle() { + return lifecycle; + } + + @JsonProperty("lifecycle") + public void setLifecycle(ThanosRulerSpecICLifecycle lifecycle) { + this.lifecycle = lifecycle; + } + + @JsonProperty("livenessProbe") + public ThanosRulerSpecICLivenessProbe getLivenessProbe() { + return livenessProbe; + } + + @JsonProperty("livenessProbe") + public void setLivenessProbe(ThanosRulerSpecICLivenessProbe livenessProbe) { + this.livenessProbe = livenessProbe; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPorts() { + return ports; + } + + @JsonProperty("ports") + public void setPorts(List ports) { + this.ports = ports; + } + + @JsonProperty("readinessProbe") + public ThanosRulerSpecICReadinessProbe getReadinessProbe() { + return readinessProbe; + } + + @JsonProperty("readinessProbe") + public void setReadinessProbe(ThanosRulerSpecICReadinessProbe readinessProbe) { + this.readinessProbe = readinessProbe; + } + + @JsonProperty("resizePolicy") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResizePolicy() { + return resizePolicy; + } + + @JsonProperty("resizePolicy") + public void setResizePolicy(List resizePolicy) { + this.resizePolicy = resizePolicy; + } + + @JsonProperty("resources") + public ThanosRulerSpecICResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ThanosRulerSpecICResources resources) { + this.resources = resources; + } + + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + + @JsonProperty("securityContext") + public ThanosRulerSpecICSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(ThanosRulerSpecICSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("startupProbe") + public ThanosRulerSpecICStartupProbe getStartupProbe() { + return startupProbe; + } + + @JsonProperty("startupProbe") + public void setStartupProbe(ThanosRulerSpecICStartupProbe startupProbe) { + this.startupProbe = startupProbe; + } + + @JsonProperty("stdin") + public Boolean getStdin() { + return stdin; + } + + @JsonProperty("stdin") + public void setStdin(Boolean stdin) { + this.stdin = stdin; + } + + @JsonProperty("stdinOnce") + public Boolean getStdinOnce() { + return stdinOnce; + } + + @JsonProperty("stdinOnce") + public void setStdinOnce(Boolean stdinOnce) { + this.stdinOnce = stdinOnce; + } + + @JsonProperty("terminationMessagePath") + public String getTerminationMessagePath() { + return terminationMessagePath; + } + + @JsonProperty("terminationMessagePath") + public void setTerminationMessagePath(String terminationMessagePath) { + this.terminationMessagePath = terminationMessagePath; + } + + @JsonProperty("terminationMessagePolicy") + public String getTerminationMessagePolicy() { + return terminationMessagePolicy; + } + + @JsonProperty("terminationMessagePolicy") + public void setTerminationMessagePolicy(String terminationMessagePolicy) { + this.terminationMessagePolicy = terminationMessagePolicy; + } + + @JsonProperty("tty") + public Boolean getTty() { + return tty; + } + + @JsonProperty("tty") + public void setTty(Boolean tty) { + this.tty = tty; + } + + @JsonProperty("volumeDevices") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeDevices() { + return volumeDevices; + } + + @JsonProperty("volumeDevices") + public void setVolumeDevices(List volumeDevices) { + this.volumeDevices = volumeDevices; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public ThanosRulerSpecInitContainersBuilder edit() { + return new ThanosRulerSpecInitContainersBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecInitContainersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecObjectStorageConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecObjectStorageConfig.java new file mode 100644 index 00000000000..9c84fa00450 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecObjectStorageConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecObjectStorageConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecObjectStorageConfig() { + } + + public ThanosRulerSpecObjectStorageConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecObjectStorageConfigBuilder edit() { + return new ThanosRulerSpecObjectStorageConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecObjectStorageConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPodMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPodMetadata.java new file mode 100644 index 00000000000..e958747e520 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPodMetadata.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "labels", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecPodMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labels = new LinkedHashMap<>(); + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecPodMetadata() { + } + + public ThanosRulerSpecPodMetadata(Map annotations, Map labels, String name) { + super(); + this.annotations = annotations; + this.labels = labels; + this.name = name; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabels() { + return labels; + } + + @JsonProperty("labels") + public void setLabels(Map labels) { + this.labels = labels; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecPodMetadataBuilder edit() { + return new ThanosRulerSpecPodMetadataBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecPodMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPrometheusRulesExcludedFromEnforce.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPrometheusRulesExcludedFromEnforce.java new file mode 100644 index 00000000000..ad147a40f50 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecPrometheusRulesExcludedFromEnforce.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ruleName", + "ruleNamespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecPrometheusRulesExcludedFromEnforce implements Editable , KubernetesResource +{ + + @JsonProperty("ruleName") + private String ruleName; + @JsonProperty("ruleNamespace") + private String ruleNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecPrometheusRulesExcludedFromEnforce() { + } + + public ThanosRulerSpecPrometheusRulesExcludedFromEnforce(String ruleName, String ruleNamespace) { + super(); + this.ruleName = ruleName; + this.ruleNamespace = ruleNamespace; + } + + @JsonProperty("ruleName") + public String getRuleName() { + return ruleName; + } + + @JsonProperty("ruleName") + public void setRuleName(String ruleName) { + this.ruleName = ruleName; + } + + @JsonProperty("ruleNamespace") + public String getRuleNamespace() { + return ruleNamespace; + } + + @JsonProperty("ruleNamespace") + public void setRuleNamespace(String ruleNamespace) { + this.ruleNamespace = ruleNamespace; + } + + @JsonIgnore + public ThanosRulerSpecPrometheusRulesExcludedFromEnforceBuilder edit() { + return new ThanosRulerSpecPrometheusRulesExcludedFromEnforceBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecPrometheusRulesExcludedFromEnforceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecQueryConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecQueryConfig.java new file mode 100644 index 00000000000..2e519cdc7df --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecQueryConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecQueryConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecQueryConfig() { + } + + public ThanosRulerSpecQueryConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecQueryConfigBuilder edit() { + return new ThanosRulerSpecQueryConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecQueryConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecResources.java new file mode 100644 index 00000000000..19628f54bfb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecResources.java @@ -0,0 +1,149 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceClaim; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claims", + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List claims = new ArrayList<>(); + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecResources() { + } + + public ThanosRulerSpecResources(List claims, Map limits, Map requests) { + super(); + this.claims = claims; + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("claims") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getClaims() { + return claims; + } + + @JsonProperty("claims") + public void setClaims(List claims) { + this.claims = claims; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecResourcesBuilder edit() { + return new ThanosRulerSpecResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleNamespaceSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleNamespaceSelector.java new file mode 100644 index 00000000000..b3141623b92 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleNamespaceSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecRuleNamespaceSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecRuleNamespaceSelector() { + } + + public ThanosRulerSpecRuleNamespaceSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecRuleNamespaceSelectorBuilder edit() { + return new ThanosRulerSpecRuleNamespaceSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecRuleNamespaceSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleSelector.java new file mode 100644 index 00000000000..6d090abec35 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecRuleSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecRuleSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecRuleSelector() { + } + + public ThanosRulerSpecRuleSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecRuleSelectorBuilder edit() { + return new ThanosRulerSpecRuleSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecRuleSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeLinuxOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeLinuxOptions.java new file mode 100644 index 00000000000..84d59aa2b4e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeLinuxOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "level", + "role", + "type", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSCSeLinuxOptions implements Editable , KubernetesResource +{ + + @JsonProperty("level") + private String level; + @JsonProperty("role") + private String role; + @JsonProperty("type") + private String type; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSCSeLinuxOptions() { + } + + public ThanosRulerSpecSCSeLinuxOptions(String level, String role, String type, String user) { + super(); + this.level = level; + this.role = role; + this.type = type; + this.user = user; + } + + @JsonProperty("level") + public String getLevel() { + return level; + } + + @JsonProperty("level") + public void setLevel(String level) { + this.level = level; + } + + @JsonProperty("role") + public String getRole() { + return role; + } + + @JsonProperty("role") + public void setRole(String role) { + this.role = role; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ThanosRulerSpecSCSeLinuxOptionsBuilder edit() { + return new ThanosRulerSpecSCSeLinuxOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSCSeLinuxOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeccompProfile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeccompProfile.java new file mode 100644 index 00000000000..e24155a278c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCSeccompProfile.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "localhostProfile", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSCSeccompProfile implements Editable , KubernetesResource +{ + + @JsonProperty("localhostProfile") + private String localhostProfile; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSCSeccompProfile() { + } + + public ThanosRulerSpecSCSeccompProfile(String localhostProfile, String type) { + super(); + this.localhostProfile = localhostProfile; + this.type = type; + } + + @JsonProperty("localhostProfile") + public String getLocalhostProfile() { + return localhostProfile; + } + + @JsonProperty("localhostProfile") + public void setLocalhostProfile(String localhostProfile) { + this.localhostProfile = localhostProfile; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerSpecSCSeccompProfileBuilder edit() { + return new ThanosRulerSpecSCSeccompProfileBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSCSeccompProfileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCWindowsOptions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCWindowsOptions.java new file mode 100644 index 00000000000..8665591ceaa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSCWindowsOptions.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "gmsaCredentialSpec", + "gmsaCredentialSpecName", + "hostProcess", + "runAsUserName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSCWindowsOptions implements Editable , KubernetesResource +{ + + @JsonProperty("gmsaCredentialSpec") + private String gmsaCredentialSpec; + @JsonProperty("gmsaCredentialSpecName") + private String gmsaCredentialSpecName; + @JsonProperty("hostProcess") + private Boolean hostProcess; + @JsonProperty("runAsUserName") + private String runAsUserName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSCWindowsOptions() { + } + + public ThanosRulerSpecSCWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName) { + super(); + this.gmsaCredentialSpec = gmsaCredentialSpec; + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + this.hostProcess = hostProcess; + this.runAsUserName = runAsUserName; + } + + @JsonProperty("gmsaCredentialSpec") + public String getGmsaCredentialSpec() { + return gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpec") + public void setGmsaCredentialSpec(String gmsaCredentialSpec) { + this.gmsaCredentialSpec = gmsaCredentialSpec; + } + + @JsonProperty("gmsaCredentialSpecName") + public String getGmsaCredentialSpecName() { + return gmsaCredentialSpecName; + } + + @JsonProperty("gmsaCredentialSpecName") + public void setGmsaCredentialSpecName(String gmsaCredentialSpecName) { + this.gmsaCredentialSpecName = gmsaCredentialSpecName; + } + + @JsonProperty("hostProcess") + public Boolean getHostProcess() { + return hostProcess; + } + + @JsonProperty("hostProcess") + public void setHostProcess(Boolean hostProcess) { + this.hostProcess = hostProcess; + } + + @JsonProperty("runAsUserName") + public String getRunAsUserName() { + return runAsUserName; + } + + @JsonProperty("runAsUserName") + public void setRunAsUserName(String runAsUserName) { + this.runAsUserName = runAsUserName; + } + + @JsonIgnore + public ThanosRulerSpecSCWindowsOptionsBuilder edit() { + return new ThanosRulerSpecSCWindowsOptionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSCWindowsOptionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpec.java new file mode 100644 index 00000000000..cad84612686 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private ThanosRulerSpecSEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private ThanosRulerSpecSEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private ThanosRulerSpecSEVCTSpecResources resources; + @JsonProperty("selector") + private ThanosRulerSpecSEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVCTSpec() { + } + + public ThanosRulerSpecSEVCTSpec(List accessModes, ThanosRulerSpecSEVCTSpecDataSource dataSource, ThanosRulerSpecSEVCTSpecDataSourceRef dataSourceRef, ThanosRulerSpecSEVCTSpecResources resources, ThanosRulerSpecSEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public ThanosRulerSpecSEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(ThanosRulerSpecSEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public ThanosRulerSpecSEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(ThanosRulerSpecSEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public ThanosRulerSpecSEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ThanosRulerSpecSEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public ThanosRulerSpecSEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(ThanosRulerSpecSEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecBuilder edit() { + return new ThanosRulerSpecSEVCTSpecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSource.java new file mode 100644 index 00000000000..fd2027c676d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVCTSpecDataSource() { + } + + public ThanosRulerSpecSEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecDataSourceBuilder edit() { + return new ThanosRulerSpecSEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..e8c2ce5a0f1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVCTSpecDataSourceRef() { + } + + public ThanosRulerSpecSEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecDataSourceRefBuilder edit() { + return new ThanosRulerSpecSEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecResources.java new file mode 100644 index 00000000000..ab00c26f68c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVCTSpecResources() { + } + + public ThanosRulerSpecSEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecResourcesBuilder edit() { + return new ThanosRulerSpecSEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecSelector.java new file mode 100644 index 00000000000..f66487a71fe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVCTSpecSelector() { + } + + public ThanosRulerSpecSEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecSelectorBuilder edit() { + return new ThanosRulerSpecSEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVolumeClaimTemplate.java new file mode 100644 index 00000000000..12cac3daa74 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private ThanosRulerSpecSEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEVolumeClaimTemplate() { + } + + public ThanosRulerSpecSEVolumeClaimTemplate(Object metadata, ThanosRulerSpecSEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ThanosRulerSpecSEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ThanosRulerSpecSEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public ThanosRulerSpecSEVolumeClaimTemplateBuilder edit() { + return new ThanosRulerSpecSEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEmptyDir.java new file mode 100644 index 00000000000..2d28d24dc3c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEmptyDir() { + } + + public ThanosRulerSpecSEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public ThanosRulerSpecSEmptyDirBuilder edit() { + return new ThanosRulerSpecSEmptyDirBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEphemeral.java new file mode 100644 index 00000000000..4d02322ba51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private ThanosRulerSpecSEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSEphemeral() { + } + + public ThanosRulerSpecSEphemeral(ThanosRulerSpecSEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public ThanosRulerSpecSEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(ThanosRulerSpecSEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public ThanosRulerSpecSEphemeralBuilder edit() { + return new ThanosRulerSpecSEphemeralBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTMetadata.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTMetadata.java new file mode 100644 index 00000000000..4be33bf2140 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTMetadata.java @@ -0,0 +1,140 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "annotations", + "labels", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTMetadata implements Editable , KubernetesResource +{ + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotations = new LinkedHashMap<>(); + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labels = new LinkedHashMap<>(); + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTMetadata() { + } + + public ThanosRulerSpecSVCTMetadata(Map annotations, Map labels, String name) { + super(); + this.annotations = annotations; + this.labels = labels; + this.name = name; + } + + @JsonProperty("annotations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotations() { + return annotations; + } + + @JsonProperty("annotations") + public void setAnnotations(Map annotations) { + this.annotations = annotations; + } + + @JsonProperty("labels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabels() { + return labels; + } + + @JsonProperty("labels") + public void setLabels(Map labels) { + this.labels = labels; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecSVCTMetadataBuilder edit() { + return new ThanosRulerSpecSVCTMetadataBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTMetadataBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpec.java new file mode 100644 index 00000000000..bf60140de37 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private ThanosRulerSpecSVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private ThanosRulerSpecSVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private ThanosRulerSpecSVCTSpecResources resources; + @JsonProperty("selector") + private ThanosRulerSpecSVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTSpec() { + } + + public ThanosRulerSpecSVCTSpec(List accessModes, ThanosRulerSpecSVCTSpecDataSource dataSource, ThanosRulerSpecSVCTSpecDataSourceRef dataSourceRef, ThanosRulerSpecSVCTSpecResources resources, ThanosRulerSpecSVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public ThanosRulerSpecSVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(ThanosRulerSpecSVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public ThanosRulerSpecSVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(ThanosRulerSpecSVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public ThanosRulerSpecSVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ThanosRulerSpecSVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public ThanosRulerSpecSVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(ThanosRulerSpecSVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecBuilder edit() { + return new ThanosRulerSpecSVCTSpecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSource.java new file mode 100644 index 00000000000..4695f670f29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTSpecDataSource() { + } + + public ThanosRulerSpecSVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecDataSourceBuilder edit() { + return new ThanosRulerSpecSVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..bbb314a00fa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTSpecDataSourceRef() { + } + + public ThanosRulerSpecSVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecDataSourceRefBuilder edit() { + return new ThanosRulerSpecSVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecResources.java new file mode 100644 index 00000000000..ac35ad66706 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTSpecResources() { + } + + public ThanosRulerSpecSVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecResourcesBuilder edit() { + return new ThanosRulerSpecSVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecSelector.java new file mode 100644 index 00000000000..5df57918f2f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTSpecSelector() { + } + + public ThanosRulerSpecSVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecSelectorBuilder edit() { + return new ThanosRulerSpecSVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatus.java new file mode 100644 index 00000000000..c08851693ce --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatus.java @@ -0,0 +1,222 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "allocatedResourceStatuses", + "allocatedResources", + "capacity", + "conditions", + "currentVolumeAttributesClassName", + "modifyVolumeStatus", + "phase" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTStatus implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResourceStatuses = new LinkedHashMap<>(); + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map allocatedResources = new LinkedHashMap<>(); + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map capacity = new LinkedHashMap<>(); + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("currentVolumeAttributesClassName") + private String currentVolumeAttributesClassName; + @JsonProperty("modifyVolumeStatus") + private ThanosRulerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus; + @JsonProperty("phase") + private String phase; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTStatus() { + } + + public ThanosRulerSpecSVCTStatus(List accessModes, Map allocatedResourceStatuses, Map allocatedResources, Map capacity, List conditions, String currentVolumeAttributesClassName, ThanosRulerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus, String phase) { + super(); + this.accessModes = accessModes; + this.allocatedResourceStatuses = allocatedResourceStatuses; + this.allocatedResources = allocatedResources; + this.capacity = capacity; + this.conditions = conditions; + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + this.modifyVolumeStatus = modifyVolumeStatus; + this.phase = phase; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("allocatedResourceStatuses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResourceStatuses() { + return allocatedResourceStatuses; + } + + @JsonProperty("allocatedResourceStatuses") + public void setAllocatedResourceStatuses(Map allocatedResourceStatuses) { + this.allocatedResourceStatuses = allocatedResourceStatuses; + } + + @JsonProperty("allocatedResources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAllocatedResources() { + return allocatedResources; + } + + @JsonProperty("allocatedResources") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setAllocatedResources(Map allocatedResources) { + this.allocatedResources = allocatedResources; + } + + @JsonProperty("capacity") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getCapacity() { + return capacity; + } + + @JsonProperty("capacity") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setCapacity(Map capacity) { + this.capacity = capacity; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("currentVolumeAttributesClassName") + public String getCurrentVolumeAttributesClassName() { + return currentVolumeAttributesClassName; + } + + @JsonProperty("currentVolumeAttributesClassName") + public void setCurrentVolumeAttributesClassName(String currentVolumeAttributesClassName) { + this.currentVolumeAttributesClassName = currentVolumeAttributesClassName; + } + + @JsonProperty("modifyVolumeStatus") + public ThanosRulerSpecSVCTStatusModifyVolumeStatus getModifyVolumeStatus() { + return modifyVolumeStatus; + } + + @JsonProperty("modifyVolumeStatus") + public void setModifyVolumeStatus(ThanosRulerSpecSVCTStatusModifyVolumeStatus modifyVolumeStatus) { + this.modifyVolumeStatus = modifyVolumeStatus; + } + + @JsonProperty("phase") + public String getPhase() { + return phase; + } + + @JsonProperty("phase") + public void setPhase(String phase) { + this.phase = phase; + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusBuilder edit() { + return new ThanosRulerSpecSVCTStatusBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusConditions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusConditions.java new file mode 100644 index 00000000000..1c83743dccc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "lastProbeTime", + "lastTransitionTime", + "message", + "reason", + "status", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTStatusConditions implements Editable , KubernetesResource +{ + + @JsonProperty("lastProbeTime") + private String lastProbeTime; + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("message") + private String message; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTStatusConditions() { + } + + public ThanosRulerSpecSVCTStatusConditions(String lastProbeTime, String lastTransitionTime, String message, String reason, String status, String type) { + super(); + this.lastProbeTime = lastProbeTime; + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastProbeTime") + public String getLastProbeTime() { + return lastProbeTime; + } + + @JsonProperty("lastProbeTime") + public void setLastProbeTime(String lastProbeTime) { + this.lastProbeTime = lastProbeTime; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusConditionsBuilder edit() { + return new ThanosRulerSpecSVCTStatusConditionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusConditionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusModifyVolumeStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusModifyVolumeStatus.java new file mode 100644 index 00000000000..c8baf8f24ca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVCTStatusModifyVolumeStatus.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "status", + "targetVolumeAttributesClassName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVCTStatusModifyVolumeStatus implements Editable , KubernetesResource +{ + + @JsonProperty("status") + private String status; + @JsonProperty("targetVolumeAttributesClassName") + private String targetVolumeAttributesClassName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVCTStatusModifyVolumeStatus() { + } + + public ThanosRulerSpecSVCTStatusModifyVolumeStatus(String status, String targetVolumeAttributesClassName) { + super(); + this.status = status; + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("targetVolumeAttributesClassName") + public String getTargetVolumeAttributesClassName() { + return targetVolumeAttributesClassName; + } + + @JsonProperty("targetVolumeAttributesClassName") + public void setTargetVolumeAttributesClassName(String targetVolumeAttributesClassName) { + this.targetVolumeAttributesClassName = targetVolumeAttributesClassName; + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusModifyVolumeStatusBuilder edit() { + return new ThanosRulerSpecSVCTStatusModifyVolumeStatusBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVCTStatusModifyVolumeStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVolumeClaimTemplate.java new file mode 100644 index 00000000000..4e6799bc41a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSVolumeClaimTemplate.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("kind") + private String kind; + @JsonProperty("metadata") + private ThanosRulerSpecSVCTMetadata metadata; + @JsonProperty("spec") + private ThanosRulerSpecSVCTSpec spec; + @JsonProperty("status") + private ThanosRulerSpecSVCTStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSVolumeClaimTemplate() { + } + + public ThanosRulerSpecSVolumeClaimTemplate(String apiVersion, String kind, ThanosRulerSpecSVCTMetadata metadata, ThanosRulerSpecSVCTSpec spec, ThanosRulerSpecSVCTStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ThanosRulerSpecSVCTMetadata getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ThanosRulerSpecSVCTMetadata metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ThanosRulerSpecSVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ThanosRulerSpecSVCTSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public ThanosRulerSpecSVCTStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(ThanosRulerSpecSVCTStatus status) { + this.status = status; + } + + @JsonIgnore + public ThanosRulerSpecSVolumeClaimTemplateBuilder edit() { + return new ThanosRulerSpecSVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSecurityContext.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSecurityContext.java new file mode 100644 index 00000000000..879779acb39 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecSecurityContext.java @@ -0,0 +1,241 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Sysctl; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsGroup", + "fsGroupChangePolicy", + "runAsGroup", + "runAsNonRoot", + "runAsUser", + "seLinuxOptions", + "seccompProfile", + "supplementalGroups", + "sysctls", + "windowsOptions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecSecurityContext implements Editable , KubernetesResource +{ + + @JsonProperty("fsGroup") + private Long fsGroup; + @JsonProperty("fsGroupChangePolicy") + private String fsGroupChangePolicy; + @JsonProperty("runAsGroup") + private Long runAsGroup; + @JsonProperty("runAsNonRoot") + private Boolean runAsNonRoot; + @JsonProperty("runAsUser") + private Long runAsUser; + @JsonProperty("seLinuxOptions") + private ThanosRulerSpecSCSeLinuxOptions seLinuxOptions; + @JsonProperty("seccompProfile") + private ThanosRulerSpecSCSeccompProfile seccompProfile; + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List supplementalGroups = new ArrayList<>(); + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sysctls = new ArrayList<>(); + @JsonProperty("windowsOptions") + private ThanosRulerSpecSCWindowsOptions windowsOptions; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecSecurityContext() { + } + + public ThanosRulerSpecSecurityContext(Long fsGroup, String fsGroupChangePolicy, Long runAsGroup, Boolean runAsNonRoot, Long runAsUser, ThanosRulerSpecSCSeLinuxOptions seLinuxOptions, ThanosRulerSpecSCSeccompProfile seccompProfile, List supplementalGroups, List sysctls, ThanosRulerSpecSCWindowsOptions windowsOptions) { + super(); + this.fsGroup = fsGroup; + this.fsGroupChangePolicy = fsGroupChangePolicy; + this.runAsGroup = runAsGroup; + this.runAsNonRoot = runAsNonRoot; + this.runAsUser = runAsUser; + this.seLinuxOptions = seLinuxOptions; + this.seccompProfile = seccompProfile; + this.supplementalGroups = supplementalGroups; + this.sysctls = sysctls; + this.windowsOptions = windowsOptions; + } + + @JsonProperty("fsGroup") + public Long getFsGroup() { + return fsGroup; + } + + @JsonProperty("fsGroup") + public void setFsGroup(Long fsGroup) { + this.fsGroup = fsGroup; + } + + @JsonProperty("fsGroupChangePolicy") + public String getFsGroupChangePolicy() { + return fsGroupChangePolicy; + } + + @JsonProperty("fsGroupChangePolicy") + public void setFsGroupChangePolicy(String fsGroupChangePolicy) { + this.fsGroupChangePolicy = fsGroupChangePolicy; + } + + @JsonProperty("runAsGroup") + public Long getRunAsGroup() { + return runAsGroup; + } + + @JsonProperty("runAsGroup") + public void setRunAsGroup(Long runAsGroup) { + this.runAsGroup = runAsGroup; + } + + @JsonProperty("runAsNonRoot") + public Boolean getRunAsNonRoot() { + return runAsNonRoot; + } + + @JsonProperty("runAsNonRoot") + public void setRunAsNonRoot(Boolean runAsNonRoot) { + this.runAsNonRoot = runAsNonRoot; + } + + @JsonProperty("runAsUser") + public Long getRunAsUser() { + return runAsUser; + } + + @JsonProperty("runAsUser") + public void setRunAsUser(Long runAsUser) { + this.runAsUser = runAsUser; + } + + @JsonProperty("seLinuxOptions") + public ThanosRulerSpecSCSeLinuxOptions getSeLinuxOptions() { + return seLinuxOptions; + } + + @JsonProperty("seLinuxOptions") + public void setSeLinuxOptions(ThanosRulerSpecSCSeLinuxOptions seLinuxOptions) { + this.seLinuxOptions = seLinuxOptions; + } + + @JsonProperty("seccompProfile") + public ThanosRulerSpecSCSeccompProfile getSeccompProfile() { + return seccompProfile; + } + + @JsonProperty("seccompProfile") + public void setSeccompProfile(ThanosRulerSpecSCSeccompProfile seccompProfile) { + this.seccompProfile = seccompProfile; + } + + @JsonProperty("supplementalGroups") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSupplementalGroups() { + return supplementalGroups; + } + + @JsonProperty("supplementalGroups") + public void setSupplementalGroups(List supplementalGroups) { + this.supplementalGroups = supplementalGroups; + } + + @JsonProperty("sysctls") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSysctls() { + return sysctls; + } + + @JsonProperty("sysctls") + public void setSysctls(List sysctls) { + this.sysctls = sysctls; + } + + @JsonProperty("windowsOptions") + public ThanosRulerSpecSCWindowsOptions getWindowsOptions() { + return windowsOptions; + } + + @JsonProperty("windowsOptions") + public void setWindowsOptions(ThanosRulerSpecSCWindowsOptions windowsOptions) { + this.windowsOptions = windowsOptions; + } + + @JsonIgnore + public ThanosRulerSpecSecurityContextBuilder edit() { + return new ThanosRulerSpecSecurityContextBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecSecurityContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecStorage.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecStorage.java new file mode 100644 index 00000000000..f366cb09e8e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecStorage.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "disableMountSubPath", + "emptyDir", + "ephemeral", + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecStorage implements Editable , KubernetesResource +{ + + @JsonProperty("disableMountSubPath") + private Boolean disableMountSubPath; + @JsonProperty("emptyDir") + private ThanosRulerSpecSEmptyDir emptyDir; + @JsonProperty("ephemeral") + private ThanosRulerSpecSEphemeral ephemeral; + @JsonProperty("volumeClaimTemplate") + private ThanosRulerSpecSVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecStorage() { + } + + public ThanosRulerSpecStorage(Boolean disableMountSubPath, ThanosRulerSpecSEmptyDir emptyDir, ThanosRulerSpecSEphemeral ephemeral, ThanosRulerSpecSVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.disableMountSubPath = disableMountSubPath; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("disableMountSubPath") + public Boolean getDisableMountSubPath() { + return disableMountSubPath; + } + + @JsonProperty("disableMountSubPath") + public void setDisableMountSubPath(Boolean disableMountSubPath) { + this.disableMountSubPath = disableMountSubPath; + } + + @JsonProperty("emptyDir") + public ThanosRulerSpecSEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(ThanosRulerSpecSEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public ThanosRulerSpecSEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(ThanosRulerSpecSEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("volumeClaimTemplate") + public ThanosRulerSpecSVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(ThanosRulerSpecSVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public ThanosRulerSpecStorageBuilder edit() { + return new ThanosRulerSpecStorageBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecStorageBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTSCLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTSCLabelSelector.java new file mode 100644 index 00000000000..a28622c9fd5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTSCLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecTSCLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecTSCLabelSelector() { + } + + public ThanosRulerSpecTSCLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecTSCLabelSelectorBuilder edit() { + return new ThanosRulerSpecTSCLabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecTSCLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTolerations.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTolerations.java new file mode 100644 index 00000000000..6ab59010ac0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTolerations.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "effect", + "key", + "operator", + "tolerationSeconds", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecTolerations implements Editable , KubernetesResource +{ + + @JsonProperty("effect") + private String effect; + @JsonProperty("key") + private String key; + @JsonProperty("operator") + private String operator; + @JsonProperty("tolerationSeconds") + private Long tolerationSeconds; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecTolerations() { + } + + public ThanosRulerSpecTolerations(String effect, String key, String operator, Long tolerationSeconds, String value) { + super(); + this.effect = effect; + this.key = key; + this.operator = operator; + this.tolerationSeconds = tolerationSeconds; + this.value = value; + } + + @JsonProperty("effect") + public String getEffect() { + return effect; + } + + @JsonProperty("effect") + public void setEffect(String effect) { + this.effect = effect; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("operator") + public String getOperator() { + return operator; + } + + @JsonProperty("operator") + public void setOperator(String operator) { + this.operator = operator; + } + + @JsonProperty("tolerationSeconds") + public Long getTolerationSeconds() { + return tolerationSeconds; + } + + @JsonProperty("tolerationSeconds") + public void setTolerationSeconds(Long tolerationSeconds) { + this.tolerationSeconds = tolerationSeconds; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ThanosRulerSpecTolerationsBuilder edit() { + return new ThanosRulerSpecTolerationsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecTolerationsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTopologySpreadConstraints.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTopologySpreadConstraints.java new file mode 100644 index 00000000000..45907f9aab0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTopologySpreadConstraints.java @@ -0,0 +1,210 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "matchLabelKeys", + "maxSkew", + "minDomains", + "nodeAffinityPolicy", + "nodeTaintsPolicy", + "topologyKey", + "whenUnsatisfiable" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecTopologySpreadConstraints implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecTSCLabelSelector labelSelector; + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchLabelKeys = new ArrayList<>(); + @JsonProperty("maxSkew") + private Integer maxSkew; + @JsonProperty("minDomains") + private Integer minDomains; + @JsonProperty("nodeAffinityPolicy") + private String nodeAffinityPolicy; + @JsonProperty("nodeTaintsPolicy") + private String nodeTaintsPolicy; + @JsonProperty("topologyKey") + private String topologyKey; + @JsonProperty("whenUnsatisfiable") + private String whenUnsatisfiable; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecTopologySpreadConstraints() { + } + + public ThanosRulerSpecTopologySpreadConstraints(ThanosRulerSpecTSCLabelSelector labelSelector, List matchLabelKeys, Integer maxSkew, Integer minDomains, String nodeAffinityPolicy, String nodeTaintsPolicy, String topologyKey, String whenUnsatisfiable) { + super(); + this.labelSelector = labelSelector; + this.matchLabelKeys = matchLabelKeys; + this.maxSkew = maxSkew; + this.minDomains = minDomains; + this.nodeAffinityPolicy = nodeAffinityPolicy; + this.nodeTaintsPolicy = nodeTaintsPolicy; + this.topologyKey = topologyKey; + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecTSCLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecTSCLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("matchLabelKeys") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchLabelKeys() { + return matchLabelKeys; + } + + @JsonProperty("matchLabelKeys") + public void setMatchLabelKeys(List matchLabelKeys) { + this.matchLabelKeys = matchLabelKeys; + } + + @JsonProperty("maxSkew") + public Integer getMaxSkew() { + return maxSkew; + } + + @JsonProperty("maxSkew") + public void setMaxSkew(Integer maxSkew) { + this.maxSkew = maxSkew; + } + + @JsonProperty("minDomains") + public Integer getMinDomains() { + return minDomains; + } + + @JsonProperty("minDomains") + public void setMinDomains(Integer minDomains) { + this.minDomains = minDomains; + } + + @JsonProperty("nodeAffinityPolicy") + public String getNodeAffinityPolicy() { + return nodeAffinityPolicy; + } + + @JsonProperty("nodeAffinityPolicy") + public void setNodeAffinityPolicy(String nodeAffinityPolicy) { + this.nodeAffinityPolicy = nodeAffinityPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public String getNodeTaintsPolicy() { + return nodeTaintsPolicy; + } + + @JsonProperty("nodeTaintsPolicy") + public void setNodeTaintsPolicy(String nodeTaintsPolicy) { + this.nodeTaintsPolicy = nodeTaintsPolicy; + } + + @JsonProperty("topologyKey") + public String getTopologyKey() { + return topologyKey; + } + + @JsonProperty("topologyKey") + public void setTopologyKey(String topologyKey) { + this.topologyKey = topologyKey; + } + + @JsonProperty("whenUnsatisfiable") + public String getWhenUnsatisfiable() { + return whenUnsatisfiable; + } + + @JsonProperty("whenUnsatisfiable") + public void setWhenUnsatisfiable(String whenUnsatisfiable) { + this.whenUnsatisfiable = whenUnsatisfiable; + } + + @JsonIgnore + public ThanosRulerSpecTopologySpreadConstraintsBuilder edit() { + return new ThanosRulerSpecTopologySpreadConstraintsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecTopologySpreadConstraintsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTracingConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTracingConfig.java new file mode 100644 index 00000000000..5028a693cf5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecTracingConfig.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecTracingConfig implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecTracingConfig() { + } + + public ThanosRulerSpecTracingConfig(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecTracingConfigBuilder edit() { + return new ThanosRulerSpecTracingConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecTracingConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAwsElasticBlockStore.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAwsElasticBlockStore.java new file mode 100644 index 00000000000..b6327be4242 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAwsElasticBlockStore.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVAwsElasticBlockStore implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVAwsElasticBlockStore() { + } + + public ThanosRulerSpecVAwsElasticBlockStore(String fsType, Integer partition, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.partition = partition; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ThanosRulerSpecVAwsElasticBlockStoreBuilder edit() { + return new ThanosRulerSpecVAwsElasticBlockStoreBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVAwsElasticBlockStoreBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureDisk.java new file mode 100644 index 00000000000..0c99864e486 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureDisk.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "cachingMode", + "diskName", + "diskURI", + "fsType", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVAzureDisk implements Editable , KubernetesResource +{ + + @JsonProperty("cachingMode") + private String cachingMode; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("diskURI") + private String diskURI; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("kind") + private String kind; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVAzureDisk() { + } + + public ThanosRulerSpecVAzureDisk(String cachingMode, String diskName, String diskURI, String fsType, String kind, Boolean readOnly) { + super(); + this.cachingMode = cachingMode; + this.diskName = diskName; + this.diskURI = diskURI; + this.fsType = fsType; + this.kind = kind; + this.readOnly = readOnly; + } + + @JsonProperty("cachingMode") + public String getCachingMode() { + return cachingMode; + } + + @JsonProperty("cachingMode") + public void setCachingMode(String cachingMode) { + this.cachingMode = cachingMode; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("diskURI") + public String getDiskURI() { + return diskURI; + } + + @JsonProperty("diskURI") + public void setDiskURI(String diskURI) { + this.diskURI = diskURI; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ThanosRulerSpecVAzureDiskBuilder edit() { + return new ThanosRulerSpecVAzureDiskBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVAzureDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureFile.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureFile.java new file mode 100644 index 00000000000..7ca85381d51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVAzureFile.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "readOnly", + "secretName", + "shareName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVAzureFile implements Editable , KubernetesResource +{ + + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("shareName") + private String shareName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVAzureFile() { + } + + public ThanosRulerSpecVAzureFile(Boolean readOnly, String secretName, String shareName) { + super(); + this.readOnly = readOnly; + this.secretName = secretName; + this.shareName = shareName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("shareName") + public String getShareName() { + return shareName; + } + + @JsonProperty("shareName") + public void setShareName(String shareName) { + this.shareName = shareName; + } + + @JsonIgnore + public ThanosRulerSpecVAzureFileBuilder edit() { + return new ThanosRulerSpecVAzureFileBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVAzureFileBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCNodePublishSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCNodePublishSecretRef.java new file mode 100644 index 00000000000..71c4f5ca8e1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCNodePublishSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCNodePublishSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCNodePublishSecretRef() { + } + + public ThanosRulerSpecVCNodePublishSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVCNodePublishSecretRefBuilder edit() { + return new ThanosRulerSpecVCNodePublishSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCNodePublishSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef.java new file mode 100644 index 00000000000..6cc0278f1ad --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCSecretRef() { + } + + public ThanosRulerSpecVCSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVCSecretRefBuilder edit() { + return new ThanosRulerSpecVCSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef_1.java new file mode 100644 index 00000000000..bebfdee3f59 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCSecretRef_1.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCSecretRef_1 implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCSecretRef_1() { + } + + public ThanosRulerSpecVCSecretRef_1(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVCSecretRef_1Builder edit() { + return new ThanosRulerSpecVCSecretRef_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCSecretRef_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCephfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCephfs.java new file mode 100644 index 00000000000..688f3eff8b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCephfs.java @@ -0,0 +1,182 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "monitors", + "path", + "readOnly", + "secretFile", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCephfs implements Editable , KubernetesResource +{ + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretFile") + private String secretFile; + @JsonProperty("secretRef") + private ThanosRulerSpecVCSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCephfs() { + } + + public ThanosRulerSpecVCephfs(List monitors, String path, Boolean readOnly, String secretFile, ThanosRulerSpecVCSecretRef secretRef, String user) { + super(); + this.monitors = monitors; + this.path = path; + this.readOnly = readOnly; + this.secretFile = secretFile; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretFile") + public String getSecretFile() { + return secretFile; + } + + @JsonProperty("secretFile") + public void setSecretFile(String secretFile) { + this.secretFile = secretFile; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVCSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVCSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ThanosRulerSpecVCephfsBuilder edit() { + return new ThanosRulerSpecVCephfsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCephfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCinder.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCinder.java new file mode 100644 index 00000000000..61c9d0addc0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCinder.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCinder implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVCSecretRef_1 secretRef; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCinder() { + } + + public ThanosRulerSpecVCinder(String fsType, Boolean readOnly, ThanosRulerSpecVCSecretRef_1 secretRef, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVCSecretRef_1 getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVCSecretRef_1 secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ThanosRulerSpecVCinderBuilder edit() { + return new ThanosRulerSpecVCinderBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCinderBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVConfigMap.java new file mode 100644 index 00000000000..4b796eebcd1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVConfigMap.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVConfigMap() { + } + + public ThanosRulerSpecVConfigMap(Integer defaultMode, List items, String name, Boolean optional) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecVConfigMapBuilder edit() { + return new ThanosRulerSpecVConfigMapBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCsi.java new file mode 100644 index 00000000000..b44d39a28b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVCsi.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "nodePublishSecretRef", + "readOnly", + "volumeAttributes" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVCsi implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("nodePublishSecretRef") + private ThanosRulerSpecVCNodePublishSecretRef nodePublishSecretRef; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map volumeAttributes = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVCsi() { + } + + public ThanosRulerSpecVCsi(String driver, String fsType, ThanosRulerSpecVCNodePublishSecretRef nodePublishSecretRef, Boolean readOnly, Map volumeAttributes) { + super(); + this.driver = driver; + this.fsType = fsType; + this.nodePublishSecretRef = nodePublishSecretRef; + this.readOnly = readOnly; + this.volumeAttributes = volumeAttributes; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("nodePublishSecretRef") + public ThanosRulerSpecVCNodePublishSecretRef getNodePublishSecretRef() { + return nodePublishSecretRef; + } + + @JsonProperty("nodePublishSecretRef") + public void setNodePublishSecretRef(ThanosRulerSpecVCNodePublishSecretRef nodePublishSecretRef) { + this.nodePublishSecretRef = nodePublishSecretRef; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeAttributes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getVolumeAttributes() { + return volumeAttributes; + } + + @JsonProperty("volumeAttributes") + public void setVolumeAttributes(Map volumeAttributes) { + this.volumeAttributes = volumeAttributes; + } + + @JsonIgnore + public ThanosRulerSpecVCsiBuilder edit() { + return new ThanosRulerSpecVCsiBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVCsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIFieldRef.java new file mode 100644 index 00000000000..a2d904c5ae2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVDAIFieldRef() { + } + + public ThanosRulerSpecVDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public ThanosRulerSpecVDAIFieldRefBuilder edit() { + return new ThanosRulerSpecVDAIFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIResourceFieldRef.java new file mode 100644 index 00000000000..f751184473a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVDAIResourceFieldRef() { + } + + public ThanosRulerSpecVDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ThanosRulerSpecVDAIResourceFieldRefBuilder edit() { + return new ThanosRulerSpecVDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAItems.java new file mode 100644 index 00000000000..2fe14767723 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private ThanosRulerSpecVDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private ThanosRulerSpecVDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVDAItems() { + } + + public ThanosRulerSpecVDAItems(ThanosRulerSpecVDAIFieldRef fieldRef, Integer mode, String path, ThanosRulerSpecVDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public ThanosRulerSpecVDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ThanosRulerSpecVDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public ThanosRulerSpecVDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ThanosRulerSpecVDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public ThanosRulerSpecVDAItemsBuilder edit() { + return new ThanosRulerSpecVDAItemsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDownwardAPI.java new file mode 100644 index 00000000000..5aa8982c8e4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVDownwardAPI.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVDownwardAPI() { + } + + public ThanosRulerSpecVDownwardAPI(Integer defaultMode, List items) { + super(); + this.defaultMode = defaultMode; + this.items = items; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public ThanosRulerSpecVDownwardAPIBuilder edit() { + return new ThanosRulerSpecVDownwardAPIBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpec.java new file mode 100644 index 00000000000..9a91b423b69 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpec.java @@ -0,0 +1,224 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessModes", + "dataSource", + "dataSourceRef", + "resources", + "selector", + "storageClassName", + "volumeAttributesClassName", + "volumeMode", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVCTSpec implements Editable , KubernetesResource +{ + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List accessModes = new ArrayList<>(); + @JsonProperty("dataSource") + private ThanosRulerSpecVEVCTSpecDataSource dataSource; + @JsonProperty("dataSourceRef") + private ThanosRulerSpecVEVCTSpecDataSourceRef dataSourceRef; + @JsonProperty("resources") + private ThanosRulerSpecVEVCTSpecResources resources; + @JsonProperty("selector") + private ThanosRulerSpecVEVCTSpecSelector selector; + @JsonProperty("storageClassName") + private String storageClassName; + @JsonProperty("volumeAttributesClassName") + private String volumeAttributesClassName; + @JsonProperty("volumeMode") + private String volumeMode; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVCTSpec() { + } + + public ThanosRulerSpecVEVCTSpec(List accessModes, ThanosRulerSpecVEVCTSpecDataSource dataSource, ThanosRulerSpecVEVCTSpecDataSourceRef dataSourceRef, ThanosRulerSpecVEVCTSpecResources resources, ThanosRulerSpecVEVCTSpecSelector selector, String storageClassName, String volumeAttributesClassName, String volumeMode, String volumeName) { + super(); + this.accessModes = accessModes; + this.dataSource = dataSource; + this.dataSourceRef = dataSourceRef; + this.resources = resources; + this.selector = selector; + this.storageClassName = storageClassName; + this.volumeAttributesClassName = volumeAttributesClassName; + this.volumeMode = volumeMode; + this.volumeName = volumeName; + } + + @JsonProperty("accessModes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAccessModes() { + return accessModes; + } + + @JsonProperty("accessModes") + public void setAccessModes(List accessModes) { + this.accessModes = accessModes; + } + + @JsonProperty("dataSource") + public ThanosRulerSpecVEVCTSpecDataSource getDataSource() { + return dataSource; + } + + @JsonProperty("dataSource") + public void setDataSource(ThanosRulerSpecVEVCTSpecDataSource dataSource) { + this.dataSource = dataSource; + } + + @JsonProperty("dataSourceRef") + public ThanosRulerSpecVEVCTSpecDataSourceRef getDataSourceRef() { + return dataSourceRef; + } + + @JsonProperty("dataSourceRef") + public void setDataSourceRef(ThanosRulerSpecVEVCTSpecDataSourceRef dataSourceRef) { + this.dataSourceRef = dataSourceRef; + } + + @JsonProperty("resources") + public ThanosRulerSpecVEVCTSpecResources getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(ThanosRulerSpecVEVCTSpecResources resources) { + this.resources = resources; + } + + @JsonProperty("selector") + public ThanosRulerSpecVEVCTSpecSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(ThanosRulerSpecVEVCTSpecSelector selector) { + this.selector = selector; + } + + @JsonProperty("storageClassName") + public String getStorageClassName() { + return storageClassName; + } + + @JsonProperty("storageClassName") + public void setStorageClassName(String storageClassName) { + this.storageClassName = storageClassName; + } + + @JsonProperty("volumeAttributesClassName") + public String getVolumeAttributesClassName() { + return volumeAttributesClassName; + } + + @JsonProperty("volumeAttributesClassName") + public void setVolumeAttributesClassName(String volumeAttributesClassName) { + this.volumeAttributesClassName = volumeAttributesClassName; + } + + @JsonProperty("volumeMode") + public String getVolumeMode() { + return volumeMode; + } + + @JsonProperty("volumeMode") + public void setVolumeMode(String volumeMode) { + this.volumeMode = volumeMode; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecBuilder edit() { + return new ThanosRulerSpecVEVCTSpecBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSource.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSource.java new file mode 100644 index 00000000000..a8d329653db --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSource.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVCTSpecDataSource implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVCTSpecDataSource() { + } + + public ThanosRulerSpecVEVCTSpecDataSource(String apiGroup, String kind, String name) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecDataSourceBuilder edit() { + return new ThanosRulerSpecVEVCTSpecDataSourceBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecDataSourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSourceRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSourceRef.java new file mode 100644 index 00000000000..31f0b9adff0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecDataSourceRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "kind", + "apiGroup", + "name", + "namespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVCTSpecDataSourceRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiGroup") + private String apiGroup; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVCTSpecDataSourceRef() { + } + + public ThanosRulerSpecVEVCTSpecDataSourceRef(String apiGroup, String kind, String name, String namespace) { + super(); + this.apiGroup = apiGroup; + this.kind = kind; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("apiGroup") + public String getApiGroup() { + return apiGroup; + } + + @JsonProperty("apiGroup") + public void setApiGroup(String apiGroup) { + this.apiGroup = apiGroup; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecDataSourceRefBuilder edit() { + return new ThanosRulerSpecVEVCTSpecDataSourceRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecDataSourceRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecResources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecResources.java new file mode 100644 index 00000000000..80cadc4b4b4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecResources.java @@ -0,0 +1,130 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "limits", + "requests" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVCTSpecResources implements Editable , KubernetesResource +{ + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map limits = new LinkedHashMap<>(); + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map requests = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVCTSpecResources() { + } + + public ThanosRulerSpecVEVCTSpecResources(Map limits, Map requests) { + super(); + this.limits = limits; + this.requests = requests; + } + + @JsonProperty("limits") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLimits() { + return limits; + } + + @JsonProperty("limits") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setLimits(Map limits) { + this.limits = limits; + } + + @JsonProperty("requests") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRequests() { + return requests; + } + + @JsonProperty("requests") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setRequests(Map requests) { + this.requests = requests; + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecResourcesBuilder edit() { + return new ThanosRulerSpecVEVCTSpecResourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecResourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecSelector.java new file mode 100644 index 00000000000..c5a00607b92 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVCTSpecSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVCTSpecSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVCTSpecSelector() { + } + + public ThanosRulerSpecVEVCTSpecSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecSelectorBuilder edit() { + return new ThanosRulerSpecVEVCTSpecSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVCTSpecSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVolumeClaimTemplate.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVolumeClaimTemplate.java new file mode 100644 index 00000000000..cdf551beff0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEVolumeClaimTemplate.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEVolumeClaimTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("spec") + private ThanosRulerSpecVEVCTSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEVolumeClaimTemplate() { + } + + public ThanosRulerSpecVEVolumeClaimTemplate(Object metadata, ThanosRulerSpecVEVCTSpec spec) { + super(); + this.metadata = metadata; + this.spec = spec; + } + + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public ThanosRulerSpecVEVCTSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ThanosRulerSpecVEVCTSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public ThanosRulerSpecVEVolumeClaimTemplateBuilder edit() { + return new ThanosRulerSpecVEVolumeClaimTemplateBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEVolumeClaimTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEmptyDir.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEmptyDir.java new file mode 100644 index 00000000000..f59c17bec88 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEmptyDir.java @@ -0,0 +1,124 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "medium", + "sizeLimit" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEmptyDir implements Editable , KubernetesResource +{ + + @JsonProperty("medium") + private String medium; + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object sizeLimit; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEmptyDir() { + } + + public ThanosRulerSpecVEmptyDir(String medium, Object sizeLimit) { + super(); + this.medium = medium; + this.sizeLimit = sizeLimit; + } + + @JsonProperty("medium") + public String getMedium() { + return medium; + } + + @JsonProperty("medium") + public void setMedium(String medium) { + this.medium = medium; + } + + @JsonProperty("sizeLimit") + public Object getSizeLimit() { + return sizeLimit; + } + + @JsonProperty("sizeLimit") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSizeLimit(Object sizeLimit) { + this.sizeLimit = sizeLimit; + } + + @JsonIgnore + public ThanosRulerSpecVEmptyDirBuilder edit() { + return new ThanosRulerSpecVEmptyDirBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEmptyDirBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEphemeral.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEphemeral.java new file mode 100644 index 00000000000..8a7d192c7bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVEphemeral.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "volumeClaimTemplate" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVEphemeral implements Editable , KubernetesResource +{ + + @JsonProperty("volumeClaimTemplate") + private ThanosRulerSpecVEVolumeClaimTemplate volumeClaimTemplate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVEphemeral() { + } + + public ThanosRulerSpecVEphemeral(ThanosRulerSpecVEVolumeClaimTemplate volumeClaimTemplate) { + super(); + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public ThanosRulerSpecVEVolumeClaimTemplate getVolumeClaimTemplate() { + return volumeClaimTemplate; + } + + @JsonProperty("volumeClaimTemplate") + public void setVolumeClaimTemplate(ThanosRulerSpecVEVolumeClaimTemplate volumeClaimTemplate) { + this.volumeClaimTemplate = volumeClaimTemplate; + } + + @JsonIgnore + public ThanosRulerSpecVEphemeralBuilder edit() { + return new ThanosRulerSpecVEphemeralBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVEphemeralBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFVSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFVSecretRef.java new file mode 100644 index 00000000000..5f604597dcd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFVSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVFVSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVFVSecretRef() { + } + + public ThanosRulerSpecVFVSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVFVSecretRefBuilder edit() { + return new ThanosRulerSpecVFVSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVFVSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFc.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFc.java new file mode 100644 index 00000000000..40ec6dcc0b0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFc.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "lun", + "readOnly", + "targetWWNs", + "wwids" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVFc implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetWWNs = new ArrayList<>(); + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List wwids = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVFc() { + } + + public ThanosRulerSpecVFc(String fsType, Integer lun, Boolean readOnly, List targetWWNs, List wwids) { + super(); + this.fsType = fsType; + this.lun = lun; + this.readOnly = readOnly; + this.targetWWNs = targetWWNs; + this.wwids = wwids; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("targetWWNs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetWWNs() { + return targetWWNs; + } + + @JsonProperty("targetWWNs") + public void setTargetWWNs(List targetWWNs) { + this.targetWWNs = targetWWNs; + } + + @JsonProperty("wwids") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWwids() { + return wwids; + } + + @JsonProperty("wwids") + public void setWwids(List wwids) { + this.wwids = wwids; + } + + @JsonIgnore + public ThanosRulerSpecVFcBuilder edit() { + return new ThanosRulerSpecVFcBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVFcBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlexVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlexVolume.java new file mode 100644 index 00000000000..8dcaa427fa5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlexVolume.java @@ -0,0 +1,166 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "driver", + "fsType", + "options", + "readOnly", + "secretRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVFlexVolume implements Editable , KubernetesResource +{ + + @JsonProperty("driver") + private String driver; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map options = new LinkedHashMap<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVFVSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVFlexVolume() { + } + + public ThanosRulerSpecVFlexVolume(String driver, String fsType, Map options, Boolean readOnly, ThanosRulerSpecVFVSecretRef secretRef) { + super(); + this.driver = driver; + this.fsType = fsType; + this.options = options; + this.readOnly = readOnly; + this.secretRef = secretRef; + } + + @JsonProperty("driver") + public String getDriver() { + return driver; + } + + @JsonProperty("driver") + public void setDriver(String driver) { + this.driver = driver; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("options") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getOptions() { + return options; + } + + @JsonProperty("options") + public void setOptions(Map options) { + this.options = options; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVFVSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVFVSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public ThanosRulerSpecVFlexVolumeBuilder edit() { + return new ThanosRulerSpecVFlexVolumeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVFlexVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlocker.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlocker.java new file mode 100644 index 00000000000..226faccfffc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVFlocker.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "datasetName", + "datasetUUID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVFlocker implements Editable , KubernetesResource +{ + + @JsonProperty("datasetName") + private String datasetName; + @JsonProperty("datasetUUID") + private String datasetUUID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVFlocker() { + } + + public ThanosRulerSpecVFlocker(String datasetName, String datasetUUID) { + super(); + this.datasetName = datasetName; + this.datasetUUID = datasetUUID; + } + + @JsonProperty("datasetName") + public String getDatasetName() { + return datasetName; + } + + @JsonProperty("datasetName") + public void setDatasetName(String datasetName) { + this.datasetName = datasetName; + } + + @JsonProperty("datasetUUID") + public String getDatasetUUID() { + return datasetUUID; + } + + @JsonProperty("datasetUUID") + public void setDatasetUUID(String datasetUUID) { + this.datasetUUID = datasetUUID; + } + + @JsonIgnore + public ThanosRulerSpecVFlockerBuilder edit() { + return new ThanosRulerSpecVFlockerBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVFlockerBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGcePersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGcePersistentDisk.java new file mode 100644 index 00000000000..e074d44ae10 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGcePersistentDisk.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "partition", + "pdName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVGcePersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("partition") + private Integer partition; + @JsonProperty("pdName") + private String pdName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVGcePersistentDisk() { + } + + public ThanosRulerSpecVGcePersistentDisk(String fsType, Integer partition, String pdName, Boolean readOnly) { + super(); + this.fsType = fsType; + this.partition = partition; + this.pdName = pdName; + this.readOnly = readOnly; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("partition") + public Integer getPartition() { + return partition; + } + + @JsonProperty("partition") + public void setPartition(Integer partition) { + this.partition = partition; + } + + @JsonProperty("pdName") + public String getPdName() { + return pdName; + } + + @JsonProperty("pdName") + public void setPdName(String pdName) { + this.pdName = pdName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ThanosRulerSpecVGcePersistentDiskBuilder edit() { + return new ThanosRulerSpecVGcePersistentDiskBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVGcePersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGitRepo.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGitRepo.java new file mode 100644 index 00000000000..b39abfe7930 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGitRepo.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "directory", + "repository", + "revision" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVGitRepo implements Editable , KubernetesResource +{ + + @JsonProperty("directory") + private String directory; + @JsonProperty("repository") + private String repository; + @JsonProperty("revision") + private String revision; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVGitRepo() { + } + + public ThanosRulerSpecVGitRepo(String directory, String repository, String revision) { + super(); + this.directory = directory; + this.repository = repository; + this.revision = revision; + } + + @JsonProperty("directory") + public String getDirectory() { + return directory; + } + + @JsonProperty("directory") + public void setDirectory(String directory) { + this.directory = directory; + } + + @JsonProperty("repository") + public String getRepository() { + return repository; + } + + @JsonProperty("repository") + public void setRepository(String repository) { + this.repository = repository; + } + + @JsonProperty("revision") + public String getRevision() { + return revision; + } + + @JsonProperty("revision") + public void setRevision(String revision) { + this.revision = revision; + } + + @JsonIgnore + public ThanosRulerSpecVGitRepoBuilder edit() { + return new ThanosRulerSpecVGitRepoBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVGitRepoBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGlusterfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGlusterfs.java new file mode 100644 index 00000000000..df7c209c911 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVGlusterfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "endpoints", + "path", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVGlusterfs implements Editable , KubernetesResource +{ + + @JsonProperty("endpoints") + private String endpoints; + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVGlusterfs() { + } + + public ThanosRulerSpecVGlusterfs(String endpoints, String path, Boolean readOnly) { + super(); + this.endpoints = endpoints; + this.path = path; + this.readOnly = readOnly; + } + + @JsonProperty("endpoints") + public String getEndpoints() { + return endpoints; + } + + @JsonProperty("endpoints") + public void setEndpoints(String endpoints) { + this.endpoints = endpoints; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ThanosRulerSpecVGlusterfsBuilder edit() { + return new ThanosRulerSpecVGlusterfsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVGlusterfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVHostPath.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVHostPath.java new file mode 100644 index 00000000000..ded6a56198e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVHostPath.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVHostPath implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVHostPath() { + } + + public ThanosRulerSpecVHostPath(String path, String type) { + super(); + this.path = path; + this.type = type; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerSpecVHostPathBuilder edit() { + return new ThanosRulerSpecVHostPathBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVHostPathBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVISecretRef.java new file mode 100644 index 00000000000..1fd26d30a55 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVISecretRef() { + } + + public ThanosRulerSpecVISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVISecretRefBuilder edit() { + return new ThanosRulerSpecVISecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVIscsi.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVIscsi.java new file mode 100644 index 00000000000..f977541d5ec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVIscsi.java @@ -0,0 +1,252 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "chapAuthDiscovery", + "chapAuthSession", + "fsType", + "initiatorName", + "iqn", + "iscsiInterface", + "lun", + "portals", + "readOnly", + "secretRef", + "targetPortal" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVIscsi implements Editable , KubernetesResource +{ + + @JsonProperty("chapAuthDiscovery") + private Boolean chapAuthDiscovery; + @JsonProperty("chapAuthSession") + private Boolean chapAuthSession; + @JsonProperty("fsType") + private String fsType; + @JsonProperty("initiatorName") + private String initiatorName; + @JsonProperty("iqn") + private String iqn; + @JsonProperty("iscsiInterface") + private String iscsiInterface; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List portals = new ArrayList<>(); + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVISecretRef secretRef; + @JsonProperty("targetPortal") + private String targetPortal; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVIscsi() { + } + + public ThanosRulerSpecVIscsi(Boolean chapAuthDiscovery, Boolean chapAuthSession, String fsType, String initiatorName, String iqn, String iscsiInterface, Integer lun, List portals, Boolean readOnly, ThanosRulerSpecVISecretRef secretRef, String targetPortal) { + super(); + this.chapAuthDiscovery = chapAuthDiscovery; + this.chapAuthSession = chapAuthSession; + this.fsType = fsType; + this.initiatorName = initiatorName; + this.iqn = iqn; + this.iscsiInterface = iscsiInterface; + this.lun = lun; + this.portals = portals; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.targetPortal = targetPortal; + } + + @JsonProperty("chapAuthDiscovery") + public Boolean getChapAuthDiscovery() { + return chapAuthDiscovery; + } + + @JsonProperty("chapAuthDiscovery") + public void setChapAuthDiscovery(Boolean chapAuthDiscovery) { + this.chapAuthDiscovery = chapAuthDiscovery; + } + + @JsonProperty("chapAuthSession") + public Boolean getChapAuthSession() { + return chapAuthSession; + } + + @JsonProperty("chapAuthSession") + public void setChapAuthSession(Boolean chapAuthSession) { + this.chapAuthSession = chapAuthSession; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("initiatorName") + public String getInitiatorName() { + return initiatorName; + } + + @JsonProperty("initiatorName") + public void setInitiatorName(String initiatorName) { + this.initiatorName = initiatorName; + } + + @JsonProperty("iqn") + public String getIqn() { + return iqn; + } + + @JsonProperty("iqn") + public void setIqn(String iqn) { + this.iqn = iqn; + } + + @JsonProperty("iscsiInterface") + public String getIscsiInterface() { + return iscsiInterface; + } + + @JsonProperty("iscsiInterface") + public void setIscsiInterface(String iscsiInterface) { + this.iscsiInterface = iscsiInterface; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("portals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPortals() { + return portals; + } + + @JsonProperty("portals") + public void setPortals(List portals) { + this.portals = portals; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("targetPortal") + public String getTargetPortal() { + return targetPortal; + } + + @JsonProperty("targetPortal") + public void setTargetPortal(String targetPortal) { + this.targetPortal = targetPortal; + } + + @JsonIgnore + public ThanosRulerSpecVIscsiBuilder edit() { + return new ThanosRulerSpecVIscsiBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVIscsiBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVNfs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVNfs.java new file mode 100644 index 00000000000..a3ebdbcf773 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVNfs.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "path", + "readOnly", + "server" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVNfs implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("server") + private String server; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVNfs() { + } + + public ThanosRulerSpecVNfs(String path, Boolean readOnly, String server) { + super(); + this.path = path; + this.readOnly = readOnly; + this.server = server; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("server") + public String getServer() { + return server; + } + + @JsonProperty("server") + public void setServer(String server) { + this.server = server; + } + + @JsonIgnore + public ThanosRulerSpecVNfsBuilder edit() { + return new ThanosRulerSpecVNfsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVNfsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSCTBLabelSelector.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSCTBLabelSelector.java new file mode 100644 index 00000000000..aad75a31531 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSCTBLabelSelector.java @@ -0,0 +1,129 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LabelSelectorRequirement; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchExpressions", + "matchLabels" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSCTBLabelSelector implements Editable , KubernetesResource +{ + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List matchExpressions = new ArrayList<>(); + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map matchLabels = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSCTBLabelSelector() { + } + + public ThanosRulerSpecVPSCTBLabelSelector(List matchExpressions, Map matchLabels) { + super(); + this.matchExpressions = matchExpressions; + this.matchLabels = matchLabels; + } + + @JsonProperty("matchExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMatchExpressions() { + return matchExpressions; + } + + @JsonProperty("matchExpressions") + public void setMatchExpressions(List matchExpressions) { + this.matchExpressions = matchExpressions; + } + + @JsonProperty("matchLabels") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getMatchLabels() { + return matchLabels; + } + + @JsonProperty("matchLabels") + public void setMatchLabels(Map matchLabels) { + this.matchLabels = matchLabels; + } + + @JsonIgnore + public ThanosRulerSpecVPSCTBLabelSelectorBuilder edit() { + return new ThanosRulerSpecVPSCTBLabelSelectorBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSCTBLabelSelectorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSClusterTrustBundle.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSClusterTrustBundle.java new file mode 100644 index 00000000000..63e399465e3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSClusterTrustBundle.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "labelSelector", + "name", + "optional", + "path", + "signerName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSClusterTrustBundle implements Editable , KubernetesResource +{ + + @JsonProperty("labelSelector") + private ThanosRulerSpecVPSCTBLabelSelector labelSelector; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("path") + private String path; + @JsonProperty("signerName") + private String signerName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSClusterTrustBundle() { + } + + public ThanosRulerSpecVPSClusterTrustBundle(ThanosRulerSpecVPSCTBLabelSelector labelSelector, String name, Boolean optional, String path, String signerName) { + super(); + this.labelSelector = labelSelector; + this.name = name; + this.optional = optional; + this.path = path; + this.signerName = signerName; + } + + @JsonProperty("labelSelector") + public ThanosRulerSpecVPSCTBLabelSelector getLabelSelector() { + return labelSelector; + } + + @JsonProperty("labelSelector") + public void setLabelSelector(ThanosRulerSpecVPSCTBLabelSelector labelSelector) { + this.labelSelector = labelSelector; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("signerName") + public String getSignerName() { + return signerName; + } + + @JsonProperty("signerName") + public void setSignerName(String signerName) { + this.signerName = signerName; + } + + @JsonIgnore + public ThanosRulerSpecVPSClusterTrustBundleBuilder edit() { + return new ThanosRulerSpecVPSClusterTrustBundleBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSClusterTrustBundleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSConfigMap.java new file mode 100644 index 00000000000..0d74d7f664e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSConfigMap.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSConfigMap() { + } + + public ThanosRulerSpecVPSConfigMap(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecVPSConfigMapBuilder edit() { + return new ThanosRulerSpecVPSConfigMapBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIFieldRef.java new file mode 100644 index 00000000000..b3ddd6569dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIFieldRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "fieldPath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSDAIFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("fieldPath") + private String fieldPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSDAIFieldRef() { + } + + public ThanosRulerSpecVPSDAIFieldRef(String apiVersion, String fieldPath) { + super(); + this.apiVersion = apiVersion; + this.fieldPath = fieldPath; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("fieldPath") + public String getFieldPath() { + return fieldPath; + } + + @JsonProperty("fieldPath") + public void setFieldPath(String fieldPath) { + this.fieldPath = fieldPath; + } + + @JsonIgnore + public ThanosRulerSpecVPSDAIFieldRefBuilder edit() { + return new ThanosRulerSpecVPSDAIFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSDAIFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIResourceFieldRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIResourceFieldRef.java new file mode 100644 index 00000000000..2347a124dc3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAIResourceFieldRef.java @@ -0,0 +1,138 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "containerName", + "divisor", + "resource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSDAIResourceFieldRef implements Editable , KubernetesResource +{ + + @JsonProperty("containerName") + private String containerName; + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object divisor; + @JsonProperty("resource") + private String resource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSDAIResourceFieldRef() { + } + + public ThanosRulerSpecVPSDAIResourceFieldRef(String containerName, Object divisor, String resource) { + super(); + this.containerName = containerName; + this.divisor = divisor; + this.resource = resource; + } + + @JsonProperty("containerName") + public String getContainerName() { + return containerName; + } + + @JsonProperty("containerName") + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + @JsonProperty("divisor") + public Object getDivisor() { + return divisor; + } + + @JsonProperty("divisor") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setDivisor(Object divisor) { + this.divisor = divisor; + } + + @JsonProperty("resource") + public String getResource() { + return resource; + } + + @JsonProperty("resource") + public void setResource(String resource) { + this.resource = resource; + } + + @JsonIgnore + public ThanosRulerSpecVPSDAIResourceFieldRefBuilder edit() { + return new ThanosRulerSpecVPSDAIResourceFieldRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSDAIResourceFieldRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAItems.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAItems.java new file mode 100644 index 00000000000..ed0193bf66f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDAItems.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fieldRef", + "mode", + "path", + "resourceFieldRef" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSDAItems implements Editable , KubernetesResource +{ + + @JsonProperty("fieldRef") + private ThanosRulerSpecVPSDAIFieldRef fieldRef; + @JsonProperty("mode") + private Integer mode; + @JsonProperty("path") + private String path; + @JsonProperty("resourceFieldRef") + private ThanosRulerSpecVPSDAIResourceFieldRef resourceFieldRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSDAItems() { + } + + public ThanosRulerSpecVPSDAItems(ThanosRulerSpecVPSDAIFieldRef fieldRef, Integer mode, String path, ThanosRulerSpecVPSDAIResourceFieldRef resourceFieldRef) { + super(); + this.fieldRef = fieldRef; + this.mode = mode; + this.path = path; + this.resourceFieldRef = resourceFieldRef; + } + + @JsonProperty("fieldRef") + public ThanosRulerSpecVPSDAIFieldRef getFieldRef() { + return fieldRef; + } + + @JsonProperty("fieldRef") + public void setFieldRef(ThanosRulerSpecVPSDAIFieldRef fieldRef) { + this.fieldRef = fieldRef; + } + + @JsonProperty("mode") + public Integer getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(Integer mode) { + this.mode = mode; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("resourceFieldRef") + public ThanosRulerSpecVPSDAIResourceFieldRef getResourceFieldRef() { + return resourceFieldRef; + } + + @JsonProperty("resourceFieldRef") + public void setResourceFieldRef(ThanosRulerSpecVPSDAIResourceFieldRef resourceFieldRef) { + this.resourceFieldRef = resourceFieldRef; + } + + @JsonIgnore + public ThanosRulerSpecVPSDAItemsBuilder edit() { + return new ThanosRulerSpecVPSDAItemsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSDAItemsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDownwardAPI.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDownwardAPI.java new file mode 100644 index 00000000000..31236dff1dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSDownwardAPI.java @@ -0,0 +1,112 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSDownwardAPI implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSDownwardAPI() { + } + + public ThanosRulerSpecVPSDownwardAPI(List items) { + super(); + this.items = items; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonIgnore + public ThanosRulerSpecVPSDownwardAPIBuilder edit() { + return new ThanosRulerSpecVPSDownwardAPIBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSDownwardAPIBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSSecret.java new file mode 100644 index 00000000000..853fd06b2f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSSecret.java @@ -0,0 +1,141 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "items", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSSecret implements Editable , KubernetesResource +{ + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSSecret() { + } + + public ThanosRulerSpecVPSSecret(List items, String name, Boolean optional) { + super(); + this.items = items; + this.name = name; + this.optional = optional; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecVPSSecretBuilder edit() { + return new ThanosRulerSpecVPSSecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSServiceAccountToken.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSServiceAccountToken.java new file mode 100644 index 00000000000..a56778feab0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSServiceAccountToken.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "audience", + "expirationSeconds", + "path" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSServiceAccountToken implements Editable , KubernetesResource +{ + + @JsonProperty("audience") + private String audience; + @JsonProperty("expirationSeconds") + private Long expirationSeconds; + @JsonProperty("path") + private String path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSServiceAccountToken() { + } + + public ThanosRulerSpecVPSServiceAccountToken(String audience, Long expirationSeconds, String path) { + super(); + this.audience = audience; + this.expirationSeconds = expirationSeconds; + this.path = path; + } + + @JsonProperty("audience") + public String getAudience() { + return audience; + } + + @JsonProperty("audience") + public void setAudience(String audience) { + this.audience = audience; + } + + @JsonProperty("expirationSeconds") + public Long getExpirationSeconds() { + return expirationSeconds; + } + + @JsonProperty("expirationSeconds") + public void setExpirationSeconds(Long expirationSeconds) { + this.expirationSeconds = expirationSeconds; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonIgnore + public ThanosRulerSpecVPSServiceAccountTokenBuilder edit() { + return new ThanosRulerSpecVPSServiceAccountTokenBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSServiceAccountTokenBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSources.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSources.java new file mode 100644 index 00000000000..e5c21a99b54 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPSources.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clusterTrustBundle", + "configMap", + "downwardAPI", + "secret", + "serviceAccountToken" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPSources implements Editable , KubernetesResource +{ + + @JsonProperty("clusterTrustBundle") + private ThanosRulerSpecVPSClusterTrustBundle clusterTrustBundle; + @JsonProperty("configMap") + private ThanosRulerSpecVPSConfigMap configMap; + @JsonProperty("downwardAPI") + private ThanosRulerSpecVPSDownwardAPI downwardAPI; + @JsonProperty("secret") + private ThanosRulerSpecVPSSecret secret; + @JsonProperty("serviceAccountToken") + private ThanosRulerSpecVPSServiceAccountToken serviceAccountToken; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPSources() { + } + + public ThanosRulerSpecVPSources(ThanosRulerSpecVPSClusterTrustBundle clusterTrustBundle, ThanosRulerSpecVPSConfigMap configMap, ThanosRulerSpecVPSDownwardAPI downwardAPI, ThanosRulerSpecVPSSecret secret, ThanosRulerSpecVPSServiceAccountToken serviceAccountToken) { + super(); + this.clusterTrustBundle = clusterTrustBundle; + this.configMap = configMap; + this.downwardAPI = downwardAPI; + this.secret = secret; + this.serviceAccountToken = serviceAccountToken; + } + + @JsonProperty("clusterTrustBundle") + public ThanosRulerSpecVPSClusterTrustBundle getClusterTrustBundle() { + return clusterTrustBundle; + } + + @JsonProperty("clusterTrustBundle") + public void setClusterTrustBundle(ThanosRulerSpecVPSClusterTrustBundle clusterTrustBundle) { + this.clusterTrustBundle = clusterTrustBundle; + } + + @JsonProperty("configMap") + public ThanosRulerSpecVPSConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecVPSConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("downwardAPI") + public ThanosRulerSpecVPSDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(ThanosRulerSpecVPSDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("secret") + public ThanosRulerSpecVPSSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecVPSSecret secret) { + this.secret = secret; + } + + @JsonProperty("serviceAccountToken") + public ThanosRulerSpecVPSServiceAccountToken getServiceAccountToken() { + return serviceAccountToken; + } + + @JsonProperty("serviceAccountToken") + public void setServiceAccountToken(ThanosRulerSpecVPSServiceAccountToken serviceAccountToken) { + this.serviceAccountToken = serviceAccountToken; + } + + @JsonIgnore + public ThanosRulerSpecVPSourcesBuilder edit() { + return new ThanosRulerSpecVPSourcesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPSourcesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPersistentVolumeClaim.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPersistentVolumeClaim.java new file mode 100644 index 00000000000..27e26d8469f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPersistentVolumeClaim.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "claimName", + "readOnly" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPersistentVolumeClaim implements Editable , KubernetesResource +{ + + @JsonProperty("claimName") + private String claimName; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPersistentVolumeClaim() { + } + + public ThanosRulerSpecVPersistentVolumeClaim(String claimName, Boolean readOnly) { + super(); + this.claimName = claimName; + this.readOnly = readOnly; + } + + @JsonProperty("claimName") + public String getClaimName() { + return claimName; + } + + @JsonProperty("claimName") + public void setClaimName(String claimName) { + this.claimName = claimName; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonIgnore + public ThanosRulerSpecVPersistentVolumeClaimBuilder edit() { + return new ThanosRulerSpecVPersistentVolumeClaimBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPersistentVolumeClaimBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPhotonPersistentDisk.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPhotonPersistentDisk.java new file mode 100644 index 00000000000..7278589b806 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPhotonPersistentDisk.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "pdID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPhotonPersistentDisk implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("pdID") + private String pdID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPhotonPersistentDisk() { + } + + public ThanosRulerSpecVPhotonPersistentDisk(String fsType, String pdID) { + super(); + this.fsType = fsType; + this.pdID = pdID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("pdID") + public String getPdID() { + return pdID; + } + + @JsonProperty("pdID") + public void setPdID(String pdID) { + this.pdID = pdID; + } + + @JsonIgnore + public ThanosRulerSpecVPhotonPersistentDiskBuilder edit() { + return new ThanosRulerSpecVPhotonPersistentDiskBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPhotonPersistentDiskBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPortworxVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPortworxVolume.java new file mode 100644 index 00000000000..8b67db2f7fd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVPortworxVolume.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "volumeID" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVPortworxVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVPortworxVolume() { + } + + public ThanosRulerSpecVPortworxVolume(String fsType, Boolean readOnly, String volumeID) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.volumeID = volumeID; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public ThanosRulerSpecVPortworxVolumeBuilder edit() { + return new ThanosRulerSpecVPortworxVolumeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVPortworxVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVProjected.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVProjected.java new file mode 100644 index 00000000000..cacb475199b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVProjected.java @@ -0,0 +1,126 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "sources" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVProjected implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVProjected() { + } + + public ThanosRulerSpecVProjected(Integer defaultMode, List sources) { + super(); + this.defaultMode = defaultMode; + this.sources = sources; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("sources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSources() { + return sources; + } + + @JsonProperty("sources") + public void setSources(List sources) { + this.sources = sources; + } + + @JsonIgnore + public ThanosRulerSpecVProjectedBuilder edit() { + return new ThanosRulerSpecVProjectedBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVProjectedBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVQuobyte.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVQuobyte.java new file mode 100644 index 00000000000..40623c9bf29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVQuobyte.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "group", + "readOnly", + "registry", + "tenant", + "user", + "volume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVQuobyte implements Editable , KubernetesResource +{ + + @JsonProperty("group") + private String group; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("registry") + private String registry; + @JsonProperty("tenant") + private String tenant; + @JsonProperty("user") + private String user; + @JsonProperty("volume") + private String volume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVQuobyte() { + } + + public ThanosRulerSpecVQuobyte(String group, Boolean readOnly, String registry, String tenant, String user, String volume) { + super(); + this.group = group; + this.readOnly = readOnly; + this.registry = registry; + this.tenant = tenant; + this.user = user; + this.volume = volume; + } + + @JsonProperty("group") + public String getGroup() { + return group; + } + + @JsonProperty("group") + public void setGroup(String group) { + this.group = group; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("registry") + public String getRegistry() { + return registry; + } + + @JsonProperty("registry") + public void setRegistry(String registry) { + this.registry = registry; + } + + @JsonProperty("tenant") + public String getTenant() { + return tenant; + } + + @JsonProperty("tenant") + public void setTenant(String tenant) { + this.tenant = tenant; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonProperty("volume") + public String getVolume() { + return volume; + } + + @JsonProperty("volume") + public void setVolume(String volume) { + this.volume = volume; + } + + @JsonIgnore + public ThanosRulerSpecVQuobyteBuilder edit() { + return new ThanosRulerSpecVQuobyteBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVQuobyteBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRSecretRef.java new file mode 100644 index 00000000000..caa55206078 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVRSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVRSecretRef() { + } + + public ThanosRulerSpecVRSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVRSecretRefBuilder edit() { + return new ThanosRulerSpecVRSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVRSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRbd.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRbd.java new file mode 100644 index 00000000000..bfc998669b1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVRbd.java @@ -0,0 +1,210 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "image", + "keyring", + "monitors", + "pool", + "readOnly", + "secretRef", + "user" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVRbd implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("image") + private String image; + @JsonProperty("keyring") + private String keyring; + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List monitors = new ArrayList<>(); + @JsonProperty("pool") + private String pool; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVRSecretRef secretRef; + @JsonProperty("user") + private String user; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVRbd() { + } + + public ThanosRulerSpecVRbd(String fsType, String image, String keyring, List monitors, String pool, Boolean readOnly, ThanosRulerSpecVRSecretRef secretRef, String user) { + super(); + this.fsType = fsType; + this.image = image; + this.keyring = keyring; + this.monitors = monitors; + this.pool = pool; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.user = user; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("keyring") + public String getKeyring() { + return keyring; + } + + @JsonProperty("keyring") + public void setKeyring(String keyring) { + this.keyring = keyring; + } + + @JsonProperty("monitors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMonitors() { + return monitors; + } + + @JsonProperty("monitors") + public void setMonitors(List monitors) { + this.monitors = monitors; + } + + @JsonProperty("pool") + public String getPool() { + return pool; + } + + @JsonProperty("pool") + public void setPool(String pool) { + this.pool = pool; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVRSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVRSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("user") + public String getUser() { + return user; + } + + @JsonProperty("user") + public void setUser(String user) { + this.user = user; + } + + @JsonIgnore + public ThanosRulerSpecVRbdBuilder edit() { + return new ThanosRulerSpecVRbdBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVRbdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSISecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSISecretRef.java new file mode 100644 index 00000000000..ae9e496c4f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSISecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVSISecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVSISecretRef() { + } + + public ThanosRulerSpecVSISecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVSISecretRefBuilder edit() { + return new ThanosRulerSpecVSISecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVSISecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSSecretRef.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSSecretRef.java new file mode 100644 index 00000000000..347ed7e3539 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSSecretRef.java @@ -0,0 +1,108 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVSSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVSSecretRef() { + } + + public ThanosRulerSpecVSSecretRef(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public ThanosRulerSpecVSSecretRefBuilder edit() { + return new ThanosRulerSpecVSSecretRefBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVSSecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVScaleIO.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVScaleIO.java new file mode 100644 index 00000000000..f13c7c713b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVScaleIO.java @@ -0,0 +1,234 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "gateway", + "protectionDomain", + "readOnly", + "secretRef", + "sslEnabled", + "storageMode", + "storagePool", + "system", + "volumeName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVScaleIO implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("gateway") + private String gateway; + @JsonProperty("protectionDomain") + private String protectionDomain; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVSISecretRef secretRef; + @JsonProperty("sslEnabled") + private Boolean sslEnabled; + @JsonProperty("storageMode") + private String storageMode; + @JsonProperty("storagePool") + private String storagePool; + @JsonProperty("system") + private String system; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVScaleIO() { + } + + public ThanosRulerSpecVScaleIO(String fsType, String gateway, String protectionDomain, Boolean readOnly, ThanosRulerSpecVSISecretRef secretRef, Boolean sslEnabled, String storageMode, String storagePool, String system, String volumeName) { + super(); + this.fsType = fsType; + this.gateway = gateway; + this.protectionDomain = protectionDomain; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.sslEnabled = sslEnabled; + this.storageMode = storageMode; + this.storagePool = storagePool; + this.system = system; + this.volumeName = volumeName; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("gateway") + public String getGateway() { + return gateway; + } + + @JsonProperty("gateway") + public void setGateway(String gateway) { + this.gateway = gateway; + } + + @JsonProperty("protectionDomain") + public String getProtectionDomain() { + return protectionDomain; + } + + @JsonProperty("protectionDomain") + public void setProtectionDomain(String protectionDomain) { + this.protectionDomain = protectionDomain; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVSISecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVSISecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("sslEnabled") + public Boolean getSslEnabled() { + return sslEnabled; + } + + @JsonProperty("sslEnabled") + public void setSslEnabled(Boolean sslEnabled) { + this.sslEnabled = sslEnabled; + } + + @JsonProperty("storageMode") + public String getStorageMode() { + return storageMode; + } + + @JsonProperty("storageMode") + public void setStorageMode(String storageMode) { + this.storageMode = storageMode; + } + + @JsonProperty("storagePool") + public String getStoragePool() { + return storagePool; + } + + @JsonProperty("storagePool") + public void setStoragePool(String storagePool) { + this.storagePool = storagePool; + } + + @JsonProperty("system") + public String getSystem() { + return system; + } + + @JsonProperty("system") + public void setSystem(String system) { + this.system = system; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ThanosRulerSpecVScaleIOBuilder edit() { + return new ThanosRulerSpecVScaleIOBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVScaleIOBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSecret.java new file mode 100644 index 00000000000..185ba0d351d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVSecret.java @@ -0,0 +1,155 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KeyToPath; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "defaultMode", + "items", + "optional", + "secretName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVSecret implements Editable , KubernetesResource +{ + + @JsonProperty("defaultMode") + private Integer defaultMode; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVSecret() { + } + + public ThanosRulerSpecVSecret(Integer defaultMode, List items, Boolean optional, String secretName) { + super(); + this.defaultMode = defaultMode; + this.items = items; + this.optional = optional; + this.secretName = secretName; + } + + @JsonProperty("defaultMode") + public Integer getDefaultMode() { + return defaultMode; + } + + @JsonProperty("defaultMode") + public void setDefaultMode(Integer defaultMode) { + this.defaultMode = defaultMode; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public ThanosRulerSpecVSecretBuilder edit() { + return new ThanosRulerSpecVSecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVStorageos.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVStorageos.java new file mode 100644 index 00000000000..27e0e1002f2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVStorageos.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "readOnly", + "secretRef", + "volumeName", + "volumeNamespace" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVStorageos implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("secretRef") + private ThanosRulerSpecVSSecretRef secretRef; + @JsonProperty("volumeName") + private String volumeName; + @JsonProperty("volumeNamespace") + private String volumeNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVStorageos() { + } + + public ThanosRulerSpecVStorageos(String fsType, Boolean readOnly, ThanosRulerSpecVSSecretRef secretRef, String volumeName, String volumeNamespace) { + super(); + this.fsType = fsType; + this.readOnly = readOnly; + this.secretRef = secretRef; + this.volumeName = volumeName; + this.volumeNamespace = volumeNamespace; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("secretRef") + public ThanosRulerSpecVSSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(ThanosRulerSpecVSSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonProperty("volumeNamespace") + public String getVolumeNamespace() { + return volumeNamespace; + } + + @JsonProperty("volumeNamespace") + public void setVolumeNamespace(String volumeNamespace) { + this.volumeNamespace = volumeNamespace; + } + + @JsonIgnore + public ThanosRulerSpecVStorageosBuilder edit() { + return new ThanosRulerSpecVStorageosBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVStorageosBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVVsphereVolume.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVVsphereVolume.java new file mode 100644 index 00000000000..c0957d009dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVVsphereVolume.java @@ -0,0 +1,150 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "fsType", + "storagePolicyID", + "storagePolicyName", + "volumePath" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVVsphereVolume implements Editable , KubernetesResource +{ + + @JsonProperty("fsType") + private String fsType; + @JsonProperty("storagePolicyID") + private String storagePolicyID; + @JsonProperty("storagePolicyName") + private String storagePolicyName; + @JsonProperty("volumePath") + private String volumePath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVVsphereVolume() { + } + + public ThanosRulerSpecVVsphereVolume(String fsType, String storagePolicyID, String storagePolicyName, String volumePath) { + super(); + this.fsType = fsType; + this.storagePolicyID = storagePolicyID; + this.storagePolicyName = storagePolicyName; + this.volumePath = volumePath; + } + + @JsonProperty("fsType") + public String getFsType() { + return fsType; + } + + @JsonProperty("fsType") + public void setFsType(String fsType) { + this.fsType = fsType; + } + + @JsonProperty("storagePolicyID") + public String getStoragePolicyID() { + return storagePolicyID; + } + + @JsonProperty("storagePolicyID") + public void setStoragePolicyID(String storagePolicyID) { + this.storagePolicyID = storagePolicyID; + } + + @JsonProperty("storagePolicyName") + public String getStoragePolicyName() { + return storagePolicyName; + } + + @JsonProperty("storagePolicyName") + public void setStoragePolicyName(String storagePolicyName) { + this.storagePolicyName = storagePolicyName; + } + + @JsonProperty("volumePath") + public String getVolumePath() { + return volumePath; + } + + @JsonProperty("volumePath") + public void setVolumePath(String volumePath) { + this.volumePath = volumePath; + } + + @JsonIgnore + public ThanosRulerSpecVVsphereVolumeBuilder edit() { + return new ThanosRulerSpecVVsphereVolumeBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVVsphereVolumeBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumeMounts.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumeMounts.java new file mode 100644 index 00000000000..e22a3191657 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumeMounts.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "mountPath", + "mountPropagation", + "name", + "readOnly", + "subPath", + "subPathExpr" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVolumeMounts implements Editable , KubernetesResource +{ + + @JsonProperty("mountPath") + private String mountPath; + @JsonProperty("mountPropagation") + private String mountPropagation; + @JsonProperty("name") + private String name; + @JsonProperty("readOnly") + private Boolean readOnly; + @JsonProperty("subPath") + private String subPath; + @JsonProperty("subPathExpr") + private String subPathExpr; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVolumeMounts() { + } + + public ThanosRulerSpecVolumeMounts(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath, String subPathExpr) { + super(); + this.mountPath = mountPath; + this.mountPropagation = mountPropagation; + this.name = name; + this.readOnly = readOnly; + this.subPath = subPath; + this.subPathExpr = subPathExpr; + } + + @JsonProperty("mountPath") + public String getMountPath() { + return mountPath; + } + + @JsonProperty("mountPath") + public void setMountPath(String mountPath) { + this.mountPath = mountPath; + } + + @JsonProperty("mountPropagation") + public String getMountPropagation() { + return mountPropagation; + } + + @JsonProperty("mountPropagation") + public void setMountPropagation(String mountPropagation) { + this.mountPropagation = mountPropagation; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("readOnly") + public Boolean getReadOnly() { + return readOnly; + } + + @JsonProperty("readOnly") + public void setReadOnly(Boolean readOnly) { + this.readOnly = readOnly; + } + + @JsonProperty("subPath") + public String getSubPath() { + return subPath; + } + + @JsonProperty("subPath") + public void setSubPath(String subPath) { + this.subPath = subPath; + } + + @JsonProperty("subPathExpr") + public String getSubPathExpr() { + return subPathExpr; + } + + @JsonProperty("subPathExpr") + public void setSubPathExpr(String subPathExpr) { + this.subPathExpr = subPathExpr; + } + + @JsonIgnore + public ThanosRulerSpecVolumeMountsBuilder edit() { + return new ThanosRulerSpecVolumeMountsBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVolumeMountsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumes.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumes.java new file mode 100644 index 00000000000..8cc98061803 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecVolumes.java @@ -0,0 +1,514 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "awsElasticBlockStore", + "azureDisk", + "azureFile", + "cephfs", + "cinder", + "configMap", + "csi", + "downwardAPI", + "emptyDir", + "ephemeral", + "fc", + "flexVolume", + "flocker", + "gcePersistentDisk", + "gitRepo", + "glusterfs", + "hostPath", + "iscsi", + "name", + "nfs", + "persistentVolumeClaim", + "photonPersistentDisk", + "portworxVolume", + "projected", + "quobyte", + "rbd", + "scaleIO", + "secret", + "storageos", + "vsphereVolume" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecVolumes implements Editable , KubernetesResource +{ + + @JsonProperty("awsElasticBlockStore") + private ThanosRulerSpecVAwsElasticBlockStore awsElasticBlockStore; + @JsonProperty("azureDisk") + private ThanosRulerSpecVAzureDisk azureDisk; + @JsonProperty("azureFile") + private ThanosRulerSpecVAzureFile azureFile; + @JsonProperty("cephfs") + private ThanosRulerSpecVCephfs cephfs; + @JsonProperty("cinder") + private ThanosRulerSpecVCinder cinder; + @JsonProperty("configMap") + private ThanosRulerSpecVConfigMap configMap; + @JsonProperty("csi") + private ThanosRulerSpecVCsi csi; + @JsonProperty("downwardAPI") + private ThanosRulerSpecVDownwardAPI downwardAPI; + @JsonProperty("emptyDir") + private ThanosRulerSpecVEmptyDir emptyDir; + @JsonProperty("ephemeral") + private ThanosRulerSpecVEphemeral ephemeral; + @JsonProperty("fc") + private ThanosRulerSpecVFc fc; + @JsonProperty("flexVolume") + private ThanosRulerSpecVFlexVolume flexVolume; + @JsonProperty("flocker") + private ThanosRulerSpecVFlocker flocker; + @JsonProperty("gcePersistentDisk") + private ThanosRulerSpecVGcePersistentDisk gcePersistentDisk; + @JsonProperty("gitRepo") + private ThanosRulerSpecVGitRepo gitRepo; + @JsonProperty("glusterfs") + private ThanosRulerSpecVGlusterfs glusterfs; + @JsonProperty("hostPath") + private ThanosRulerSpecVHostPath hostPath; + @JsonProperty("iscsi") + private ThanosRulerSpecVIscsi iscsi; + @JsonProperty("name") + private String name; + @JsonProperty("nfs") + private ThanosRulerSpecVNfs nfs; + @JsonProperty("persistentVolumeClaim") + private ThanosRulerSpecVPersistentVolumeClaim persistentVolumeClaim; + @JsonProperty("photonPersistentDisk") + private ThanosRulerSpecVPhotonPersistentDisk photonPersistentDisk; + @JsonProperty("portworxVolume") + private ThanosRulerSpecVPortworxVolume portworxVolume; + @JsonProperty("projected") + private ThanosRulerSpecVProjected projected; + @JsonProperty("quobyte") + private ThanosRulerSpecVQuobyte quobyte; + @JsonProperty("rbd") + private ThanosRulerSpecVRbd rbd; + @JsonProperty("scaleIO") + private ThanosRulerSpecVScaleIO scaleIO; + @JsonProperty("secret") + private ThanosRulerSpecVSecret secret; + @JsonProperty("storageos") + private ThanosRulerSpecVStorageos storageos; + @JsonProperty("vsphereVolume") + private ThanosRulerSpecVVsphereVolume vsphereVolume; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecVolumes() { + } + + public ThanosRulerSpecVolumes(ThanosRulerSpecVAwsElasticBlockStore awsElasticBlockStore, ThanosRulerSpecVAzureDisk azureDisk, ThanosRulerSpecVAzureFile azureFile, ThanosRulerSpecVCephfs cephfs, ThanosRulerSpecVCinder cinder, ThanosRulerSpecVConfigMap configMap, ThanosRulerSpecVCsi csi, ThanosRulerSpecVDownwardAPI downwardAPI, ThanosRulerSpecVEmptyDir emptyDir, ThanosRulerSpecVEphemeral ephemeral, ThanosRulerSpecVFc fc, ThanosRulerSpecVFlexVolume flexVolume, ThanosRulerSpecVFlocker flocker, ThanosRulerSpecVGcePersistentDisk gcePersistentDisk, ThanosRulerSpecVGitRepo gitRepo, ThanosRulerSpecVGlusterfs glusterfs, ThanosRulerSpecVHostPath hostPath, ThanosRulerSpecVIscsi iscsi, String name, ThanosRulerSpecVNfs nfs, ThanosRulerSpecVPersistentVolumeClaim persistentVolumeClaim, ThanosRulerSpecVPhotonPersistentDisk photonPersistentDisk, ThanosRulerSpecVPortworxVolume portworxVolume, ThanosRulerSpecVProjected projected, ThanosRulerSpecVQuobyte quobyte, ThanosRulerSpecVRbd rbd, ThanosRulerSpecVScaleIO scaleIO, ThanosRulerSpecVSecret secret, ThanosRulerSpecVStorageos storageos, ThanosRulerSpecVVsphereVolume vsphereVolume) { + super(); + this.awsElasticBlockStore = awsElasticBlockStore; + this.azureDisk = azureDisk; + this.azureFile = azureFile; + this.cephfs = cephfs; + this.cinder = cinder; + this.configMap = configMap; + this.csi = csi; + this.downwardAPI = downwardAPI; + this.emptyDir = emptyDir; + this.ephemeral = ephemeral; + this.fc = fc; + this.flexVolume = flexVolume; + this.flocker = flocker; + this.gcePersistentDisk = gcePersistentDisk; + this.gitRepo = gitRepo; + this.glusterfs = glusterfs; + this.hostPath = hostPath; + this.iscsi = iscsi; + this.name = name; + this.nfs = nfs; + this.persistentVolumeClaim = persistentVolumeClaim; + this.photonPersistentDisk = photonPersistentDisk; + this.portworxVolume = portworxVolume; + this.projected = projected; + this.quobyte = quobyte; + this.rbd = rbd; + this.scaleIO = scaleIO; + this.secret = secret; + this.storageos = storageos; + this.vsphereVolume = vsphereVolume; + } + + @JsonProperty("awsElasticBlockStore") + public ThanosRulerSpecVAwsElasticBlockStore getAwsElasticBlockStore() { + return awsElasticBlockStore; + } + + @JsonProperty("awsElasticBlockStore") + public void setAwsElasticBlockStore(ThanosRulerSpecVAwsElasticBlockStore awsElasticBlockStore) { + this.awsElasticBlockStore = awsElasticBlockStore; + } + + @JsonProperty("azureDisk") + public ThanosRulerSpecVAzureDisk getAzureDisk() { + return azureDisk; + } + + @JsonProperty("azureDisk") + public void setAzureDisk(ThanosRulerSpecVAzureDisk azureDisk) { + this.azureDisk = azureDisk; + } + + @JsonProperty("azureFile") + public ThanosRulerSpecVAzureFile getAzureFile() { + return azureFile; + } + + @JsonProperty("azureFile") + public void setAzureFile(ThanosRulerSpecVAzureFile azureFile) { + this.azureFile = azureFile; + } + + @JsonProperty("cephfs") + public ThanosRulerSpecVCephfs getCephfs() { + return cephfs; + } + + @JsonProperty("cephfs") + public void setCephfs(ThanosRulerSpecVCephfs cephfs) { + this.cephfs = cephfs; + } + + @JsonProperty("cinder") + public ThanosRulerSpecVCinder getCinder() { + return cinder; + } + + @JsonProperty("cinder") + public void setCinder(ThanosRulerSpecVCinder cinder) { + this.cinder = cinder; + } + + @JsonProperty("configMap") + public ThanosRulerSpecVConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecVConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("csi") + public ThanosRulerSpecVCsi getCsi() { + return csi; + } + + @JsonProperty("csi") + public void setCsi(ThanosRulerSpecVCsi csi) { + this.csi = csi; + } + + @JsonProperty("downwardAPI") + public ThanosRulerSpecVDownwardAPI getDownwardAPI() { + return downwardAPI; + } + + @JsonProperty("downwardAPI") + public void setDownwardAPI(ThanosRulerSpecVDownwardAPI downwardAPI) { + this.downwardAPI = downwardAPI; + } + + @JsonProperty("emptyDir") + public ThanosRulerSpecVEmptyDir getEmptyDir() { + return emptyDir; + } + + @JsonProperty("emptyDir") + public void setEmptyDir(ThanosRulerSpecVEmptyDir emptyDir) { + this.emptyDir = emptyDir; + } + + @JsonProperty("ephemeral") + public ThanosRulerSpecVEphemeral getEphemeral() { + return ephemeral; + } + + @JsonProperty("ephemeral") + public void setEphemeral(ThanosRulerSpecVEphemeral ephemeral) { + this.ephemeral = ephemeral; + } + + @JsonProperty("fc") + public ThanosRulerSpecVFc getFc() { + return fc; + } + + @JsonProperty("fc") + public void setFc(ThanosRulerSpecVFc fc) { + this.fc = fc; + } + + @JsonProperty("flexVolume") + public ThanosRulerSpecVFlexVolume getFlexVolume() { + return flexVolume; + } + + @JsonProperty("flexVolume") + public void setFlexVolume(ThanosRulerSpecVFlexVolume flexVolume) { + this.flexVolume = flexVolume; + } + + @JsonProperty("flocker") + public ThanosRulerSpecVFlocker getFlocker() { + return flocker; + } + + @JsonProperty("flocker") + public void setFlocker(ThanosRulerSpecVFlocker flocker) { + this.flocker = flocker; + } + + @JsonProperty("gcePersistentDisk") + public ThanosRulerSpecVGcePersistentDisk getGcePersistentDisk() { + return gcePersistentDisk; + } + + @JsonProperty("gcePersistentDisk") + public void setGcePersistentDisk(ThanosRulerSpecVGcePersistentDisk gcePersistentDisk) { + this.gcePersistentDisk = gcePersistentDisk; + } + + @JsonProperty("gitRepo") + public ThanosRulerSpecVGitRepo getGitRepo() { + return gitRepo; + } + + @JsonProperty("gitRepo") + public void setGitRepo(ThanosRulerSpecVGitRepo gitRepo) { + this.gitRepo = gitRepo; + } + + @JsonProperty("glusterfs") + public ThanosRulerSpecVGlusterfs getGlusterfs() { + return glusterfs; + } + + @JsonProperty("glusterfs") + public void setGlusterfs(ThanosRulerSpecVGlusterfs glusterfs) { + this.glusterfs = glusterfs; + } + + @JsonProperty("hostPath") + public ThanosRulerSpecVHostPath getHostPath() { + return hostPath; + } + + @JsonProperty("hostPath") + public void setHostPath(ThanosRulerSpecVHostPath hostPath) { + this.hostPath = hostPath; + } + + @JsonProperty("iscsi") + public ThanosRulerSpecVIscsi getIscsi() { + return iscsi; + } + + @JsonProperty("iscsi") + public void setIscsi(ThanosRulerSpecVIscsi iscsi) { + this.iscsi = iscsi; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("nfs") + public ThanosRulerSpecVNfs getNfs() { + return nfs; + } + + @JsonProperty("nfs") + public void setNfs(ThanosRulerSpecVNfs nfs) { + this.nfs = nfs; + } + + @JsonProperty("persistentVolumeClaim") + public ThanosRulerSpecVPersistentVolumeClaim getPersistentVolumeClaim() { + return persistentVolumeClaim; + } + + @JsonProperty("persistentVolumeClaim") + public void setPersistentVolumeClaim(ThanosRulerSpecVPersistentVolumeClaim persistentVolumeClaim) { + this.persistentVolumeClaim = persistentVolumeClaim; + } + + @JsonProperty("photonPersistentDisk") + public ThanosRulerSpecVPhotonPersistentDisk getPhotonPersistentDisk() { + return photonPersistentDisk; + } + + @JsonProperty("photonPersistentDisk") + public void setPhotonPersistentDisk(ThanosRulerSpecVPhotonPersistentDisk photonPersistentDisk) { + this.photonPersistentDisk = photonPersistentDisk; + } + + @JsonProperty("portworxVolume") + public ThanosRulerSpecVPortworxVolume getPortworxVolume() { + return portworxVolume; + } + + @JsonProperty("portworxVolume") + public void setPortworxVolume(ThanosRulerSpecVPortworxVolume portworxVolume) { + this.portworxVolume = portworxVolume; + } + + @JsonProperty("projected") + public ThanosRulerSpecVProjected getProjected() { + return projected; + } + + @JsonProperty("projected") + public void setProjected(ThanosRulerSpecVProjected projected) { + this.projected = projected; + } + + @JsonProperty("quobyte") + public ThanosRulerSpecVQuobyte getQuobyte() { + return quobyte; + } + + @JsonProperty("quobyte") + public void setQuobyte(ThanosRulerSpecVQuobyte quobyte) { + this.quobyte = quobyte; + } + + @JsonProperty("rbd") + public ThanosRulerSpecVRbd getRbd() { + return rbd; + } + + @JsonProperty("rbd") + public void setRbd(ThanosRulerSpecVRbd rbd) { + this.rbd = rbd; + } + + @JsonProperty("scaleIO") + public ThanosRulerSpecVScaleIO getScaleIO() { + return scaleIO; + } + + @JsonProperty("scaleIO") + public void setScaleIO(ThanosRulerSpecVScaleIO scaleIO) { + this.scaleIO = scaleIO; + } + + @JsonProperty("secret") + public ThanosRulerSpecVSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecVSecret secret) { + this.secret = secret; + } + + @JsonProperty("storageos") + public ThanosRulerSpecVStorageos getStorageos() { + return storageos; + } + + @JsonProperty("storageos") + public void setStorageos(ThanosRulerSpecVStorageos storageos) { + this.storageos = storageos; + } + + @JsonProperty("vsphereVolume") + public ThanosRulerSpecVVsphereVolume getVsphereVolume() { + return vsphereVolume; + } + + @JsonProperty("vsphereVolume") + public void setVsphereVolume(ThanosRulerSpecVVsphereVolume vsphereVolume) { + this.vsphereVolume = vsphereVolume; + } + + @JsonIgnore + public ThanosRulerSpecVolumesBuilder edit() { + return new ThanosRulerSpecVolumesBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecVolumesBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHCHeaders.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHCHeaders.java new file mode 100644 index 00000000000..17564531835 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHCHeaders.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "contentSecurityPolicy", + "strictTransportSecurity", + "xContentTypeOptions", + "xFrameOptions", + "xXSSProtection" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWHCHeaders implements Editable , KubernetesResource +{ + + @JsonProperty("contentSecurityPolicy") + private String contentSecurityPolicy; + @JsonProperty("strictTransportSecurity") + private String strictTransportSecurity; + @JsonProperty("xContentTypeOptions") + private String xContentTypeOptions; + @JsonProperty("xFrameOptions") + private String xFrameOptions; + @JsonProperty("xXSSProtection") + private String xXSSProtection; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWHCHeaders() { + } + + public ThanosRulerSpecWHCHeaders(String contentSecurityPolicy, String strictTransportSecurity, String xContentTypeOptions, String xFrameOptions, String xXSSProtection) { + super(); + this.contentSecurityPolicy = contentSecurityPolicy; + this.strictTransportSecurity = strictTransportSecurity; + this.xContentTypeOptions = xContentTypeOptions; + this.xFrameOptions = xFrameOptions; + this.xXSSProtection = xXSSProtection; + } + + @JsonProperty("contentSecurityPolicy") + public String getContentSecurityPolicy() { + return contentSecurityPolicy; + } + + @JsonProperty("contentSecurityPolicy") + public void setContentSecurityPolicy(String contentSecurityPolicy) { + this.contentSecurityPolicy = contentSecurityPolicy; + } + + @JsonProperty("strictTransportSecurity") + public String getStrictTransportSecurity() { + return strictTransportSecurity; + } + + @JsonProperty("strictTransportSecurity") + public void setStrictTransportSecurity(String strictTransportSecurity) { + this.strictTransportSecurity = strictTransportSecurity; + } + + @JsonProperty("xContentTypeOptions") + public String getXContentTypeOptions() { + return xContentTypeOptions; + } + + @JsonProperty("xContentTypeOptions") + public void setXContentTypeOptions(String xContentTypeOptions) { + this.xContentTypeOptions = xContentTypeOptions; + } + + @JsonProperty("xFrameOptions") + public String getXFrameOptions() { + return xFrameOptions; + } + + @JsonProperty("xFrameOptions") + public void setXFrameOptions(String xFrameOptions) { + this.xFrameOptions = xFrameOptions; + } + + @JsonProperty("xXSSProtection") + public String getXXSSProtection() { + return xXSSProtection; + } + + @JsonProperty("xXSSProtection") + public void setXXSSProtection(String xXSSProtection) { + this.xXSSProtection = xXSSProtection; + } + + @JsonIgnore + public ThanosRulerSpecWHCHeadersBuilder edit() { + return new ThanosRulerSpecWHCHeadersBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWHCHeadersBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHttpConfig.java new file mode 100644 index 00000000000..bb88ab05367 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWHttpConfig.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "headers", + "http2" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("headers") + private ThanosRulerSpecWHCHeaders headers; + @JsonProperty("http2") + private Boolean http2; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWHttpConfig() { + } + + public ThanosRulerSpecWHttpConfig(ThanosRulerSpecWHCHeaders headers, Boolean http2) { + super(); + this.headers = headers; + this.http2 = http2; + } + + @JsonProperty("headers") + public ThanosRulerSpecWHCHeaders getHeaders() { + return headers; + } + + @JsonProperty("headers") + public void setHeaders(ThanosRulerSpecWHCHeaders headers) { + this.headers = headers; + } + + @JsonProperty("http2") + public Boolean getHttp2() { + return http2; + } + + @JsonProperty("http2") + public void setHttp2(Boolean http2) { + this.http2 = http2; + } + + @JsonIgnore + public ThanosRulerSpecWHttpConfigBuilder edit() { + return new ThanosRulerSpecWHttpConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap.java new file mode 100644 index 00000000000..b7a80256d3d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCCConfigMap() { + } + + public ThanosRulerSpecWTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecWTCCConfigMapBuilder edit() { + return new ThanosRulerSpecWTCCConfigMapBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap_1.java new file mode 100644 index 00000000000..fc561943fe2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCCConfigMap_1() { + } + + public ThanosRulerSpecWTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecWTCCConfigMap_1Builder edit() { + return new ThanosRulerSpecWTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret.java new file mode 100644 index 00000000000..f248a3ab0de --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCCSecret() { + } + + public ThanosRulerSpecWTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecWTCCSecretBuilder edit() { + return new ThanosRulerSpecWTCCSecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret_1.java new file mode 100644 index 00000000000..748448bbc47 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCCSecret_1() { + } + + public ThanosRulerSpecWTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecWTCCSecret_1Builder edit() { + return new ThanosRulerSpecWTCCSecret_1Builder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCert.java new file mode 100644 index 00000000000..6fd8f604d32 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ThanosRulerSpecWTCCConfigMap configMap; + @JsonProperty("secret") + private ThanosRulerSpecWTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCCert() { + } + + public ThanosRulerSpecWTCCert(ThanosRulerSpecWTCCConfigMap configMap, ThanosRulerSpecWTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ThanosRulerSpecWTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecWTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ThanosRulerSpecWTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecWTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public ThanosRulerSpecWTCCertBuilder edit() { + return new ThanosRulerSpecWTCCertBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCClient_ca.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCClient_ca.java new file mode 100644 index 00000000000..75f827bff37 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCClient_ca.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCClient_ca implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private ThanosRulerSpecWTCCConfigMap_1 configMap; + @JsonProperty("secret") + private ThanosRulerSpecWTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCClient_ca() { + } + + public ThanosRulerSpecWTCClient_ca(ThanosRulerSpecWTCCConfigMap_1 configMap, ThanosRulerSpecWTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public ThanosRulerSpecWTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(ThanosRulerSpecWTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public ThanosRulerSpecWTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(ThanosRulerSpecWTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public ThanosRulerSpecWTCClient_caBuilder edit() { + return new ThanosRulerSpecWTCClient_caBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCClient_caBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCKeySecret.java new file mode 100644 index 00000000000..f96f84d8685 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTCKeySecret() { + } + + public ThanosRulerSpecWTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public ThanosRulerSpecWTCKeySecretBuilder edit() { + return new ThanosRulerSpecWTCKeySecretBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTlsConfig.java new file mode 100644 index 00000000000..92f6f11ff21 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWTlsConfig.java @@ -0,0 +1,226 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "cert", + "cipherSuites", + "clientAuthType", + "client_ca", + "curvePreferences", + "keySecret", + "maxVersion", + "minVersion", + "preferServerCipherSuites" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("cert") + private ThanosRulerSpecWTCCert cert; + @JsonProperty("cipherSuites") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List cipherSuites = new ArrayList<>(); + @JsonProperty("clientAuthType") + private String clientAuthType; + @JsonProperty("client_ca") + private ThanosRulerSpecWTCClient_ca client_ca; + @JsonProperty("curvePreferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List curvePreferences = new ArrayList<>(); + @JsonProperty("keySecret") + private ThanosRulerSpecWTCKeySecret keySecret; + @JsonProperty("maxVersion") + private String maxVersion; + @JsonProperty("minVersion") + private String minVersion; + @JsonProperty("preferServerCipherSuites") + private Boolean preferServerCipherSuites; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWTlsConfig() { + } + + public ThanosRulerSpecWTlsConfig(ThanosRulerSpecWTCCert cert, List cipherSuites, String clientAuthType, ThanosRulerSpecWTCClient_ca client_ca, List curvePreferences, ThanosRulerSpecWTCKeySecret keySecret, String maxVersion, String minVersion, Boolean preferServerCipherSuites) { + super(); + this.cert = cert; + this.cipherSuites = cipherSuites; + this.clientAuthType = clientAuthType; + this.client_ca = client_ca; + this.curvePreferences = curvePreferences; + this.keySecret = keySecret; + this.maxVersion = maxVersion; + this.minVersion = minVersion; + this.preferServerCipherSuites = preferServerCipherSuites; + } + + @JsonProperty("cert") + public ThanosRulerSpecWTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(ThanosRulerSpecWTCCert cert) { + this.cert = cert; + } + + @JsonProperty("cipherSuites") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCipherSuites() { + return cipherSuites; + } + + @JsonProperty("cipherSuites") + public void setCipherSuites(List cipherSuites) { + this.cipherSuites = cipherSuites; + } + + @JsonProperty("clientAuthType") + public String getClientAuthType() { + return clientAuthType; + } + + @JsonProperty("clientAuthType") + public void setClientAuthType(String clientAuthType) { + this.clientAuthType = clientAuthType; + } + + @JsonProperty("client_ca") + public ThanosRulerSpecWTCClient_ca getClient_ca() { + return client_ca; + } + + @JsonProperty("client_ca") + public void setClient_ca(ThanosRulerSpecWTCClient_ca client_ca) { + this.client_ca = client_ca; + } + + @JsonProperty("curvePreferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCurvePreferences() { + return curvePreferences; + } + + @JsonProperty("curvePreferences") + public void setCurvePreferences(List curvePreferences) { + this.curvePreferences = curvePreferences; + } + + @JsonProperty("keySecret") + public ThanosRulerSpecWTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(ThanosRulerSpecWTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("maxVersion") + public String getMaxVersion() { + return maxVersion; + } + + @JsonProperty("maxVersion") + public void setMaxVersion(String maxVersion) { + this.maxVersion = maxVersion; + } + + @JsonProperty("minVersion") + public String getMinVersion() { + return minVersion; + } + + @JsonProperty("minVersion") + public void setMinVersion(String minVersion) { + this.minVersion = minVersion; + } + + @JsonProperty("preferServerCipherSuites") + public Boolean getPreferServerCipherSuites() { + return preferServerCipherSuites; + } + + @JsonProperty("preferServerCipherSuites") + public void setPreferServerCipherSuites(Boolean preferServerCipherSuites) { + this.preferServerCipherSuites = preferServerCipherSuites; + } + + @JsonIgnore + public ThanosRulerSpecWTlsConfigBuilder edit() { + return new ThanosRulerSpecWTlsConfigBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWeb.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWeb.java new file mode 100644 index 00000000000..6770f715336 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerSpecWeb.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "httpConfig", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerSpecWeb implements Editable , KubernetesResource +{ + + @JsonProperty("httpConfig") + private ThanosRulerSpecWHttpConfig httpConfig; + @JsonProperty("tlsConfig") + private ThanosRulerSpecWTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerSpecWeb() { + } + + public ThanosRulerSpecWeb(ThanosRulerSpecWHttpConfig httpConfig, ThanosRulerSpecWTlsConfig tlsConfig) { + super(); + this.httpConfig = httpConfig; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("httpConfig") + public ThanosRulerSpecWHttpConfig getHttpConfig() { + return httpConfig; + } + + @JsonProperty("httpConfig") + public void setHttpConfig(ThanosRulerSpecWHttpConfig httpConfig) { + this.httpConfig = httpConfig; + } + + @JsonProperty("tlsConfig") + public ThanosRulerSpecWTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(ThanosRulerSpecWTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public ThanosRulerSpecWebBuilder edit() { + return new ThanosRulerSpecWebBuilder(this); + } + + @JsonIgnore + public ThanosRulerSpecWebBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java index 9730678b8e3..27044899325 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatus.java @@ -65,7 +65,7 @@ public class ThanosRulerStatus implements Editable , K private Integer availableReplicas; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List conditions = new ArrayList<>(); + private List conditions = new ArrayList<>(); @JsonProperty("paused") private Boolean paused; @JsonProperty("replicas") @@ -84,7 +84,7 @@ public class ThanosRulerStatus implements Editable , K public ThanosRulerStatus() { } - public ThanosRulerStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas) { + public ThanosRulerStatus(Integer availableReplicas, List conditions, Boolean paused, Integer replicas, Integer unavailableReplicas, Integer updatedReplicas) { super(); this.availableReplicas = availableReplicas; this.conditions = conditions; @@ -106,12 +106,12 @@ public void setAvailableReplicas(Integer availableReplicas) { @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getConditions() { + public List getConditions() { return conditions; } @JsonProperty("conditions") - public void setConditions(List conditions) { + public void setConditions(List conditions) { this.conditions = conditions; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatusConditions.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatusConditions.java new file mode 100644 index 00000000000..529745e7225 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1/ThanosRulerStatusConditions.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "lastTransitionTime", + "message", + "observedGeneration", + "reason", + "status", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ThanosRulerStatusConditions implements Editable , KubernetesResource +{ + + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("message") + private String message; + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ThanosRulerStatusConditions() { + } + + public ThanosRulerStatusConditions(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type) { + super(); + this.lastTransitionTime = lastTransitionTime; + this.message = message; + this.observedGeneration = observedGeneration; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ThanosRulerStatusConditionsBuilder edit() { + return new ThanosRulerStatusConditionsBuilder(this); + } + + @JsonIgnore + public ThanosRulerStatusConditionsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfig.java similarity index 89% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfig.java index 6e9709cacb2..72a5f5e1319 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -18,6 +18,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; @@ -47,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,7 +61,7 @@ @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) -@Version("v1alpha1") +@Version("v1beta1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") public class AlertmanagerConfig implements Editable , HasMetadata, Namespaced @@ -72,7 +73,7 @@ public class AlertmanagerConfig implements Editable , * */ @JsonProperty("apiVersion") - private String apiVersion = "monitoring.coreos.com/v1alpha1"; + private String apiVersion = "monitoring.coreos.com/v1beta1"; /** * * (Required) @@ -81,7 +82,7 @@ public class AlertmanagerConfig implements Editable , @JsonProperty("kind") private String kind = "AlertmanagerConfig"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private AlertmanagerConfigSpec spec; @JsonIgnore @@ -94,7 +95,7 @@ public class AlertmanagerConfig implements Editable , public AlertmanagerConfig() { } - public AlertmanagerConfig(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, AlertmanagerConfigSpec spec) { + public AlertmanagerConfig(String apiVersion, String kind, ObjectMeta metadata, AlertmanagerConfigSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -143,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigList.java similarity index 90% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigList.java index d68ef96e314..12bb2e0e5ad 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigList.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigList.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -64,10 +64,10 @@ @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) -@Version("v1alpha1") +@Version("v1beta1") @Group("monitoring.coreos.com") @Generated("jsonschema2pojo") -public class AlertmanagerConfigList implements Editable , KubernetesResource, KubernetesResourceList +public class AlertmanagerConfigList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -76,10 +76,10 @@ public class AlertmanagerConfigList implements Editable items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -99,7 +99,7 @@ public class AlertmanagerConfigList implements Editable items, String kind, ListMeta metadata) { + public AlertmanagerConfigList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -129,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpec.java similarity index 74% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpec.java index 265df00bcc2..f7573c6eba9 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/AlertmanagerConfigSpec.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -34,9 +34,9 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "inhibitRules", - "muteTimeIntervals", "receivers", - "route" + "route", + "timeIntervals" }) @ToString @EqualsAndHashCode @@ -61,15 +61,15 @@ public class AlertmanagerConfigSpec implements Editable inhibitRules = new ArrayList<>(); - @JsonProperty("muteTimeIntervals") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List muteTimeIntervals = new ArrayList<>(); + private List inhibitRules = new ArrayList<>(); @JsonProperty("receivers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List receivers = new ArrayList<>(); + private List receivers = new ArrayList<>(); @JsonProperty("route") - private Route route; + private AlertmanagerConfigSpecRoute route; + @JsonProperty("timeIntervals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List timeIntervals = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -80,57 +80,57 @@ public class AlertmanagerConfigSpec implements Editable inhibitRules, List muteTimeIntervals, List receivers, Route route) { + public AlertmanagerConfigSpec(List inhibitRules, List receivers, AlertmanagerConfigSpecRoute route, List timeIntervals) { super(); this.inhibitRules = inhibitRules; - this.muteTimeIntervals = muteTimeIntervals; this.receivers = receivers; this.route = route; + this.timeIntervals = timeIntervals; } @JsonProperty("inhibitRules") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getInhibitRules() { + public List getInhibitRules() { return inhibitRules; } @JsonProperty("inhibitRules") - public void setInhibitRules(List inhibitRules) { + public void setInhibitRules(List inhibitRules) { this.inhibitRules = inhibitRules; } - @JsonProperty("muteTimeIntervals") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMuteTimeIntervals() { - return muteTimeIntervals; - } - - @JsonProperty("muteTimeIntervals") - public void setMuteTimeIntervals(List muteTimeIntervals) { - this.muteTimeIntervals = muteTimeIntervals; - } - @JsonProperty("receivers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getReceivers() { + public List getReceivers() { return receivers; } @JsonProperty("receivers") - public void setReceivers(List receivers) { + public void setReceivers(List receivers) { this.receivers = receivers; } @JsonProperty("route") - public Route getRoute() { + public AlertmanagerConfigSpecRoute getRoute() { return route; } @JsonProperty("route") - public void setRoute(Route route) { + public void setRoute(AlertmanagerConfigSpecRoute route) { this.route = route; } + @JsonProperty("timeIntervals") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTimeIntervals() { + return timeIntervals; + } + + @JsonProperty("timeIntervals") + public void setTimeIntervals(List timeIntervals) { + this.timeIntervals = timeIntervals; + } + @JsonIgnore public AlertmanagerConfigSpecBuilder edit() { return new AlertmanagerConfigSpecBuilder(this); diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRSourceMatch.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRSourceMatch.java new file mode 100644 index 00000000000..f1984816b16 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRSourceMatch.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchType", + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecIRSourceMatch implements Editable , KubernetesResource +{ + + @JsonProperty("matchType") + private String matchType; + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecIRSourceMatch() { + } + + public AlertmanagerConfigSpecIRSourceMatch(String matchType, String name, String value) { + super(); + this.matchType = matchType; + this.name = name; + this.value = value; + } + + @JsonProperty("matchType") + public String getMatchType() { + return matchType; + } + + @JsonProperty("matchType") + public void setMatchType(String matchType) { + this.matchType = matchType; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerConfigSpecIRSourceMatchBuilder edit() { + return new AlertmanagerConfigSpecIRSourceMatchBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecIRSourceMatchBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRTargetMatch.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRTargetMatch.java new file mode 100644 index 00000000000..f2300499b05 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecIRTargetMatch.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "matchType", + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecIRTargetMatch implements Editable , KubernetesResource +{ + + @JsonProperty("matchType") + private String matchType; + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecIRTargetMatch() { + } + + public AlertmanagerConfigSpecIRTargetMatch(String matchType, String name, String value) { + super(); + this.matchType = matchType; + this.name = name; + this.value = value; + } + + @JsonProperty("matchType") + public String getMatchType() { + return matchType; + } + + @JsonProperty("matchType") + public void setMatchType(String matchType) { + this.matchType = matchType; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerConfigSpecIRTargetMatchBuilder edit() { + return new AlertmanagerConfigSpecIRTargetMatchBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecIRTargetMatchBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecInhibitRules.java similarity index 78% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecInhibitRules.java index 1e3367cde98..d61b19e31fa 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/InhibitRule.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecInhibitRules.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -55,7 +55,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class InhibitRule implements Editable , KubernetesResource +public class AlertmanagerConfigSpecInhibitRules implements Editable , KubernetesResource { @JsonProperty("equal") @@ -63,10 +63,10 @@ public class InhibitRule implements Editable , KubernetesRes private List equal = new ArrayList<>(); @JsonProperty("sourceMatch") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List sourceMatch = new ArrayList<>(); + private List sourceMatch = new ArrayList<>(); @JsonProperty("targetMatch") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List targetMatch = new ArrayList<>(); + private List targetMatch = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,10 +74,10 @@ public class InhibitRule implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public InhibitRule() { + public AlertmanagerConfigSpecInhibitRules() { } - public InhibitRule(List equal, List sourceMatch, List targetMatch) { + public AlertmanagerConfigSpecInhibitRules(List equal, List sourceMatch, List targetMatch) { super(); this.equal = equal; this.sourceMatch = sourceMatch; @@ -97,33 +97,33 @@ public void setEqual(List equal) { @JsonProperty("sourceMatch") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSourceMatch() { + public List getSourceMatch() { return sourceMatch; } @JsonProperty("sourceMatch") - public void setSourceMatch(List sourceMatch) { + public void setSourceMatch(List sourceMatch) { this.sourceMatch = sourceMatch; } @JsonProperty("targetMatch") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTargetMatch() { + public List getTargetMatch() { return targetMatch; } @JsonProperty("targetMatch") - public void setTargetMatch(List targetMatch) { + public void setTargetMatch(List targetMatch) { this.targetMatch = targetMatch; } @JsonIgnore - public InhibitRuleBuilder edit() { - return new InhibitRuleBuilder(this); + public AlertmanagerConfigSpecInhibitRulesBuilder edit() { + return new AlertmanagerConfigSpecInhibitRulesBuilder(this); } @JsonIgnore - public InhibitRuleBuilder toBuilder() { + public AlertmanagerConfigSpecInhibitRulesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCApiURL.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCApiURL.java new file mode 100644 index 00000000000..4041d98cac3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCApiURL.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCApiURL implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCApiURL() { + } + + public AlertmanagerConfigSpecRDCApiURL(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCApiURLBuilder edit() { + return new AlertmanagerConfigSpecRDCApiURLBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCApiURLBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCACredentials.java new file mode 100644 index 00000000000..d9df168d4bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCACredentials() { + } + + public AlertmanagerConfigSpecRDCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRDCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCAuthorization.java new file mode 100644 index 00000000000..8e8372d37e5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRDCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCAuthorization() { + } + + public AlertmanagerConfigSpecRDCHCAuthorization(AlertmanagerConfigSpecRDCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRDCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRDCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRDCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuth.java new file mode 100644 index 00000000000..be6808b7af2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRDCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRDCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRDCHCBasicAuth(AlertmanagerConfigSpecRDCHCBasicAuthPassword password, AlertmanagerConfigSpecRDCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRDCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRDCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRDCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRDCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRDCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthPassword.java new file mode 100644 index 00000000000..6fc8e072cc3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRDCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRDCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthUsername.java new file mode 100644 index 00000000000..8ac8d96bf34 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRDCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRDCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBearerTokenSecret.java new file mode 100644 index 00000000000..7975158b8e7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRDCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRDCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCIConfigMap.java new file mode 100644 index 00000000000..57a0db79c18 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRDCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRDCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCISecret.java new file mode 100644 index 00000000000..4e95cbc41d3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCOCISecret() { + } + + public AlertmanagerConfigSpecRDCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRDCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientId.java new file mode 100644 index 00000000000..9b369f102f4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRDCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRDCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCOClientId() { + } + + public AlertmanagerConfigSpecRDCHCOClientId(AlertmanagerConfigSpecRDCHCOCIConfigMap configMap, AlertmanagerConfigSpecRDCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRDCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRDCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRDCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRDCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRDCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientSecret.java new file mode 100644 index 00000000000..2b68740f5b2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRDCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRDCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOauth2.java new file mode 100644 index 00000000000..08e98728407 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRDCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRDCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCOauth2() { + } + + public AlertmanagerConfigSpecRDCHCOauth2(AlertmanagerConfigSpecRDCHCOClientId clientId, AlertmanagerConfigSpecRDCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRDCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRDCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRDCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRDCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRDCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap.java new file mode 100644 index 00000000000..1dc0a91994a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRDCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..1d810a1d6e2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRDCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRDCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret.java new file mode 100644 index 00000000000..fb8cc051c24 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRDCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret_1.java new file mode 100644 index 00000000000..84389caceae --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRDCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRDCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCa.java new file mode 100644 index 00000000000..38d5f91bff3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRDCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRDCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCa() { + } + + public AlertmanagerConfigSpecRDCHCTCCa(AlertmanagerConfigSpecRDCHCTCCConfigMap configMap, AlertmanagerConfigSpecRDCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRDCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRDCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRDCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRDCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCert.java new file mode 100644 index 00000000000..7821286affc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRDCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRDCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCCert() { + } + + public AlertmanagerConfigSpecRDCHCTCCert(AlertmanagerConfigSpecRDCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRDCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRDCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRDCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRDCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRDCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCKeySecret.java new file mode 100644 index 00000000000..7697b81f3c6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRDCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTlsConfig.java new file mode 100644 index 00000000000..c62c4b63935 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRDCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRDCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRDCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRDCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRDCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRDCHCTlsConfig(AlertmanagerConfigSpecRDCHCTCCa ca, AlertmanagerConfigSpecRDCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRDCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRDCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRDCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRDCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRDCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRDCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRDCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRDCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRDCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHttpConfig.java similarity index 72% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHttpConfig.java index 7607b6bd963..3481815be9b 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/HTTPConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDCHttpConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,11 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; -import io.fabric8.openshift.api.model.monitoring.v1.BasicAuth; -import io.fabric8.openshift.api.model.monitoring.v1.OAuth2; -import io.fabric8.openshift.api.model.monitoring.v1.SafeAuthorization; -import io.fabric8.openshift.api.model.monitoring.v1.SafeTLSConfig; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,23 +57,23 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class HTTPConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRDCHttpConfig implements Editable , KubernetesResource { @JsonProperty("authorization") - private SafeAuthorization authorization; + private AlertmanagerConfigSpecRDCHCAuthorization authorization; @JsonProperty("basicAuth") - private BasicAuth basicAuth; + private AlertmanagerConfigSpecRDCHCBasicAuth basicAuth; @JsonProperty("bearerTokenSecret") - private SecretKeySelector bearerTokenSecret; + private AlertmanagerConfigSpecRDCHCBearerTokenSecret bearerTokenSecret; @JsonProperty("followRedirects") private Boolean followRedirects; @JsonProperty("oauth2") - private OAuth2 oauth2; + private AlertmanagerConfigSpecRDCHCOauth2 oauth2; @JsonProperty("proxyURL") private String proxyURL; @JsonProperty("tlsConfig") - private SafeTLSConfig tlsConfig; + private AlertmanagerConfigSpecRDCHCTlsConfig tlsConfig; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -86,10 +81,10 @@ public class HTTPConfig implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public HTTPConfig() { + public AlertmanagerConfigSpecRDCHttpConfig() { } - public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKeySelector bearerTokenSecret, Boolean followRedirects, OAuth2 oauth2, String proxyURL, SafeTLSConfig tlsConfig) { + public AlertmanagerConfigSpecRDCHttpConfig(AlertmanagerConfigSpecRDCHCAuthorization authorization, AlertmanagerConfigSpecRDCHCBasicAuth basicAuth, AlertmanagerConfigSpecRDCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRDCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRDCHCTlsConfig tlsConfig) { super(); this.authorization = authorization; this.basicAuth = basicAuth; @@ -101,32 +96,32 @@ public HTTPConfig(SafeAuthorization authorization, BasicAuth basicAuth, SecretKe } @JsonProperty("authorization") - public SafeAuthorization getAuthorization() { + public AlertmanagerConfigSpecRDCHCAuthorization getAuthorization() { return authorization; } @JsonProperty("authorization") - public void setAuthorization(SafeAuthorization authorization) { + public void setAuthorization(AlertmanagerConfigSpecRDCHCAuthorization authorization) { this.authorization = authorization; } @JsonProperty("basicAuth") - public BasicAuth getBasicAuth() { + public AlertmanagerConfigSpecRDCHCBasicAuth getBasicAuth() { return basicAuth; } @JsonProperty("basicAuth") - public void setBasicAuth(BasicAuth basicAuth) { + public void setBasicAuth(AlertmanagerConfigSpecRDCHCBasicAuth basicAuth) { this.basicAuth = basicAuth; } @JsonProperty("bearerTokenSecret") - public SecretKeySelector getBearerTokenSecret() { + public AlertmanagerConfigSpecRDCHCBearerTokenSecret getBearerTokenSecret() { return bearerTokenSecret; } @JsonProperty("bearerTokenSecret") - public void setBearerTokenSecret(SecretKeySelector bearerTokenSecret) { + public void setBearerTokenSecret(AlertmanagerConfigSpecRDCHCBearerTokenSecret bearerTokenSecret) { this.bearerTokenSecret = bearerTokenSecret; } @@ -141,12 +136,12 @@ public void setFollowRedirects(Boolean followRedirects) { } @JsonProperty("oauth2") - public OAuth2 getOauth2() { + public AlertmanagerConfigSpecRDCHCOauth2 getOauth2() { return oauth2; } @JsonProperty("oauth2") - public void setOauth2(OAuth2 oauth2) { + public void setOauth2(AlertmanagerConfigSpecRDCHCOauth2 oauth2) { this.oauth2 = oauth2; } @@ -161,22 +156,22 @@ public void setProxyURL(String proxyURL) { } @JsonProperty("tlsConfig") - public SafeTLSConfig getTlsConfig() { + public AlertmanagerConfigSpecRDCHCTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(SafeTLSConfig tlsConfig) { + public void setTlsConfig(AlertmanagerConfigSpecRDCHCTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @JsonIgnore - public HTTPConfigBuilder edit() { - return new HTTPConfigBuilder(this); + public AlertmanagerConfigSpecRDCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRDCHttpConfigBuilder(this); } @JsonIgnore - public HTTPConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRDCHttpConfigBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DiscordConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDiscordConfigs.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DiscordConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDiscordConfigs.java index a3a7181cb2f..24b43b03d9e 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DiscordConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRDiscordConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,13 +55,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DiscordConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRDiscordConfigs implements Editable , KubernetesResource { @JsonProperty("apiURL") - private SecretKeySelector apiURL; + private AlertmanagerConfigSpecRDCApiURL apiURL; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRDCHttpConfig httpConfig; @JsonProperty("message") private String message; @JsonProperty("sendResolved") @@ -76,10 +75,10 @@ public class DiscordConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public DiscordConfig() { + public AlertmanagerConfigSpecRDiscordConfigs() { } - public DiscordConfig(SecretKeySelector apiURL, HTTPConfig httpConfig, String message, Boolean sendResolved, String title) { + public AlertmanagerConfigSpecRDiscordConfigs(AlertmanagerConfigSpecRDCApiURL apiURL, AlertmanagerConfigSpecRDCHttpConfig httpConfig, String message, Boolean sendResolved, String title) { super(); this.apiURL = apiURL; this.httpConfig = httpConfig; @@ -89,22 +88,22 @@ public DiscordConfig(SecretKeySelector apiURL, HTTPConfig httpConfig, String mes } @JsonProperty("apiURL") - public SecretKeySelector getApiURL() { + public AlertmanagerConfigSpecRDCApiURL getApiURL() { return apiURL; } @JsonProperty("apiURL") - public void setApiURL(SecretKeySelector apiURL) { + public void setApiURL(AlertmanagerConfigSpecRDCApiURL apiURL) { this.apiURL = apiURL; } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRDCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRDCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -139,12 +138,12 @@ public void setTitle(String title) { } @JsonIgnore - public DiscordConfigBuilder edit() { - return new DiscordConfigBuilder(this); + public AlertmanagerConfigSpecRDiscordConfigsBuilder edit() { + return new AlertmanagerConfigSpecRDiscordConfigsBuilder(this); } @JsonIgnore - public DiscordConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRDiscordConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthPassword.java new file mode 100644 index 00000000000..05e764be3a4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthPassword.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECAuthPassword() { + } + + public AlertmanagerConfigSpecRECAuthPassword(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRECAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthSecret.java new file mode 100644 index 00000000000..54b85197902 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECAuthSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECAuthSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECAuthSecret() { + } + + public AlertmanagerConfigSpecRECAuthSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECAuthSecretBuilder edit() { + return new AlertmanagerConfigSpecRECAuthSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECAuthSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECHeaders.java similarity index 87% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECHeaders.java index 7f4203a3de8..93e5242cf0a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/KeyValue.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECHeaders.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class KeyValue implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRECHeaders implements Editable , KubernetesResource { @JsonProperty("key") @@ -66,10 +66,10 @@ public class KeyValue implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public KeyValue() { + public AlertmanagerConfigSpecRECHeaders() { } - public KeyValue(String key, String value) { + public AlertmanagerConfigSpecRECHeaders(String key, String value) { super(); this.key = key; this.value = value; @@ -96,12 +96,12 @@ public void setValue(String value) { } @JsonIgnore - public KeyValueBuilder edit() { - return new KeyValueBuilder(this); + public AlertmanagerConfigSpecRECHeadersBuilder edit() { + return new AlertmanagerConfigSpecRECHeadersBuilder(this); } @JsonIgnore - public KeyValueBuilder toBuilder() { + public AlertmanagerConfigSpecRECHeadersBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap.java new file mode 100644 index 00000000000..11ed0fcccff --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCConfigMap() { + } + + public AlertmanagerConfigSpecRECTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRECTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap_1.java new file mode 100644 index 00000000000..02fb5f9cc29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRECTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRECTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret.java new file mode 100644 index 00000000000..fac762f3fc4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCSecret() { + } + + public AlertmanagerConfigSpecRECTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRECTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret_1.java new file mode 100644 index 00000000000..fc9257521bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCSecret_1() { + } + + public AlertmanagerConfigSpecRECTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRECTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCa.java new file mode 100644 index 00000000000..38bc208b3ed --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRECTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRECTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCa() { + } + + public AlertmanagerConfigSpecRECTCCa(AlertmanagerConfigSpecRECTCCConfigMap configMap, AlertmanagerConfigSpecRECTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRECTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRECTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRECTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRECTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCaBuilder edit() { + return new AlertmanagerConfigSpecRECTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCert.java new file mode 100644 index 00000000000..3a26bc4cbba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRECTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRECTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCCert() { + } + + public AlertmanagerConfigSpecRECTCCert(AlertmanagerConfigSpecRECTCCConfigMap_1 configMap, AlertmanagerConfigSpecRECTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRECTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRECTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRECTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRECTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCertBuilder edit() { + return new AlertmanagerConfigSpecRECTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCKeySecret.java new file mode 100644 index 00000000000..bdc7ec0f9dd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTCKeySecret() { + } + + public AlertmanagerConfigSpecRECTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRECTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTlsConfig.java new file mode 100644 index 00000000000..001298d1e46 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRECTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRECTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRECTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRECTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRECTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRECTlsConfig() { + } + + public AlertmanagerConfigSpecRECTlsConfig(AlertmanagerConfigSpecRECTCCa ca, AlertmanagerConfigSpecRECTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRECTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRECTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRECTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRECTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRECTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRECTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRECTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRECTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRECTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecREmailConfigs.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecREmailConfigs.java index 59eed9f6647..57c4021e329 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/EmailConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecREmailConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -24,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; -import io.fabric8.openshift.api.model.monitoring.v1.SafeTLSConfig; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -68,22 +66,22 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class EmailConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecREmailConfigs implements Editable , KubernetesResource { @JsonProperty("authIdentity") private String authIdentity; @JsonProperty("authPassword") - private SecretKeySelector authPassword; + private AlertmanagerConfigSpecRECAuthPassword authPassword; @JsonProperty("authSecret") - private SecretKeySelector authSecret; + private AlertmanagerConfigSpecRECAuthSecret authSecret; @JsonProperty("authUsername") private String authUsername; @JsonProperty("from") private String from; @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List headers = new ArrayList<>(); + private List headers = new ArrayList<>(); @JsonProperty("hello") private String hello; @JsonProperty("html") @@ -97,7 +95,7 @@ public class EmailConfig implements Editable , KubernetesRes @JsonProperty("text") private String text; @JsonProperty("tlsConfig") - private SafeTLSConfig tlsConfig; + private AlertmanagerConfigSpecRECTlsConfig tlsConfig; @JsonProperty("to") private String to; @JsonIgnore @@ -107,10 +105,10 @@ public class EmailConfig implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public EmailConfig() { + public AlertmanagerConfigSpecREmailConfigs() { } - public EmailConfig(String authIdentity, SecretKeySelector authPassword, SecretKeySelector authSecret, String authUsername, String from, List headers, String hello, String html, Boolean requireTLS, Boolean sendResolved, String smarthost, String text, SafeTLSConfig tlsConfig, String to) { + public AlertmanagerConfigSpecREmailConfigs(String authIdentity, AlertmanagerConfigSpecRECAuthPassword authPassword, AlertmanagerConfigSpecRECAuthSecret authSecret, String authUsername, String from, List headers, String hello, String html, Boolean requireTLS, Boolean sendResolved, String smarthost, String text, AlertmanagerConfigSpecRECTlsConfig tlsConfig, String to) { super(); this.authIdentity = authIdentity; this.authPassword = authPassword; @@ -139,22 +137,22 @@ public void setAuthIdentity(String authIdentity) { } @JsonProperty("authPassword") - public SecretKeySelector getAuthPassword() { + public AlertmanagerConfigSpecRECAuthPassword getAuthPassword() { return authPassword; } @JsonProperty("authPassword") - public void setAuthPassword(SecretKeySelector authPassword) { + public void setAuthPassword(AlertmanagerConfigSpecRECAuthPassword authPassword) { this.authPassword = authPassword; } @JsonProperty("authSecret") - public SecretKeySelector getAuthSecret() { + public AlertmanagerConfigSpecRECAuthSecret getAuthSecret() { return authSecret; } @JsonProperty("authSecret") - public void setAuthSecret(SecretKeySelector authSecret) { + public void setAuthSecret(AlertmanagerConfigSpecRECAuthSecret authSecret) { this.authSecret = authSecret; } @@ -180,12 +178,12 @@ public void setFrom(String from) { @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHeaders() { + public List getHeaders() { return headers; } @JsonProperty("headers") - public void setHeaders(List headers) { + public void setHeaders(List headers) { this.headers = headers; } @@ -250,12 +248,12 @@ public void setText(String text) { } @JsonProperty("tlsConfig") - public SafeTLSConfig getTlsConfig() { + public AlertmanagerConfigSpecRECTlsConfig getTlsConfig() { return tlsConfig; } @JsonProperty("tlsConfig") - public void setTlsConfig(SafeTLSConfig tlsConfig) { + public void setTlsConfig(AlertmanagerConfigSpecRECTlsConfig tlsConfig) { this.tlsConfig = tlsConfig; } @@ -270,12 +268,12 @@ public void setTo(String to) { } @JsonIgnore - public EmailConfigBuilder edit() { - return new EmailConfigBuilder(this); + public AlertmanagerConfigSpecREmailConfigsBuilder edit() { + return new AlertmanagerConfigSpecREmailConfigsBuilder(this); } @JsonIgnore - public EmailConfigBuilder toBuilder() { + public AlertmanagerConfigSpecREmailConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCACredentials.java new file mode 100644 index 00000000000..6eec78796d0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCACredentials() { + } + + public AlertmanagerConfigSpecRMCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRMCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCAuthorization.java new file mode 100644 index 00000000000..d395af9e481 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRMCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCAuthorization() { + } + + public AlertmanagerConfigSpecRMCHCAuthorization(AlertmanagerConfigSpecRMCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRMCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRMCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRMCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuth.java new file mode 100644 index 00000000000..86b85764dde --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRMCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRMCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRMCHCBasicAuth(AlertmanagerConfigSpecRMCHCBasicAuthPassword password, AlertmanagerConfigSpecRMCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRMCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRMCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRMCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRMCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRMCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthPassword.java new file mode 100644 index 00000000000..e40602d219c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRMCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRMCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthUsername.java new file mode 100644 index 00000000000..7a6262edd6f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRMCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRMCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBearerTokenSecret.java new file mode 100644 index 00000000000..5aa97327a28 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRMCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRMCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCIConfigMap.java new file mode 100644 index 00000000000..94b49c05daa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRMCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRMCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCISecret.java new file mode 100644 index 00000000000..690d212a7f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCOCISecret() { + } + + public AlertmanagerConfigSpecRMCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRMCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientId.java new file mode 100644 index 00000000000..f0c39a7d5b4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRMCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRMCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCOClientId() { + } + + public AlertmanagerConfigSpecRMCHCOClientId(AlertmanagerConfigSpecRMCHCOCIConfigMap configMap, AlertmanagerConfigSpecRMCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRMCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRMCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRMCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRMCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRMCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientSecret.java new file mode 100644 index 00000000000..3d6c1a7753b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRMCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRMCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOauth2.java new file mode 100644 index 00000000000..8ba4141c729 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRMCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRMCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCOauth2() { + } + + public AlertmanagerConfigSpecRMCHCOauth2(AlertmanagerConfigSpecRMCHCOClientId clientId, AlertmanagerConfigSpecRMCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRMCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRMCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRMCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRMCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRMCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap.java new file mode 100644 index 00000000000..6abf8d1c064 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRMCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..afa7b7a693a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRMCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRMCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret.java new file mode 100644 index 00000000000..65dd2363fec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRMCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret_1.java new file mode 100644 index 00000000000..acc48efe4b9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRMCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRMCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCa.java new file mode 100644 index 00000000000..cdaf7744343 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRMCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRMCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCa() { + } + + public AlertmanagerConfigSpecRMCHCTCCa(AlertmanagerConfigSpecRMCHCTCCConfigMap configMap, AlertmanagerConfigSpecRMCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRMCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRMCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRMCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRMCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCert.java new file mode 100644 index 00000000000..eacc251888a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRMCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRMCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCCert() { + } + + public AlertmanagerConfigSpecRMCHCTCCert(AlertmanagerConfigSpecRMCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRMCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRMCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRMCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRMCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRMCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCKeySecret.java new file mode 100644 index 00000000000..dd192ade4c8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRMCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTlsConfig.java new file mode 100644 index 00000000000..e5ad97711a3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRMCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRMCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRMCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRMCHCTlsConfig(AlertmanagerConfigSpecRMCHCTCCa ca, AlertmanagerConfigSpecRMCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRMCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRMCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRMCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRMCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRMCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRMCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRMCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRMCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHttpConfig.java new file mode 100644 index 00000000000..1839232aa16 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRMCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRMCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRMCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRMCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRMCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCHttpConfig() { + } + + public AlertmanagerConfigSpecRMCHttpConfig(AlertmanagerConfigSpecRMCHCAuthorization authorization, AlertmanagerConfigSpecRMCHCBasicAuth basicAuth, AlertmanagerConfigSpecRMCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRMCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRMCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRMCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRMCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRMCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRMCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRMCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRMCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRMCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRMCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRMCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRMCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRMCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCWebhookUrl.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCWebhookUrl.java new file mode 100644 index 00000000000..761cc1e4898 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMCWebhookUrl.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMCWebhookUrl implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMCWebhookUrl() { + } + + public AlertmanagerConfigSpecRMCWebhookUrl(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCWebhookUrlBuilder edit() { + return new AlertmanagerConfigSpecRMCWebhookUrlBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMCWebhookUrlBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMatchers.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMatchers.java index 59e9768234d..cf869865b8d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Matcher.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMatchers.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -33,7 +33,6 @@ @JsonPropertyOrder({ "matchType", "name", - "regex", "value" }) @ToString @@ -54,15 +53,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Matcher implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRMatchers implements Editable , KubernetesResource { @JsonProperty("matchType") private String matchType; @JsonProperty("name") private String name; - @JsonProperty("regex") - private Boolean regex; @JsonProperty("value") private String value; @JsonIgnore @@ -72,14 +69,13 @@ public class Matcher implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Matcher() { + public AlertmanagerConfigSpecRMatchers() { } - public Matcher(String matchType, String name, Boolean regex, String value) { + public AlertmanagerConfigSpecRMatchers(String matchType, String name, String value) { super(); this.matchType = matchType; this.name = name; - this.regex = regex; this.value = value; } @@ -103,16 +99,6 @@ public void setName(String name) { this.name = name; } - @JsonProperty("regex") - public Boolean getRegex() { - return regex; - } - - @JsonProperty("regex") - public void setRegex(Boolean regex) { - this.regex = regex; - } - @JsonProperty("value") public String getValue() { return value; @@ -124,12 +110,12 @@ public void setValue(String value) { } @JsonIgnore - public MatcherBuilder edit() { - return new MatcherBuilder(this); + public AlertmanagerConfigSpecRMatchersBuilder edit() { + return new AlertmanagerConfigSpecRMatchersBuilder(this); } @JsonIgnore - public MatcherBuilder toBuilder() { + public AlertmanagerConfigSpecRMatchersBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMsteamsConfigs.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMsteamsConfigs.java new file mode 100644 index 00000000000..b502a68f6ac --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRMsteamsConfigs.java @@ -0,0 +1,178 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "httpConfig", + "sendResolved", + "summary", + "text", + "title", + "webhookUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRMsteamsConfigs implements Editable , KubernetesResource +{ + + @JsonProperty("httpConfig") + private AlertmanagerConfigSpecRMCHttpConfig httpConfig; + @JsonProperty("sendResolved") + private Boolean sendResolved; + @JsonProperty("summary") + private String summary; + @JsonProperty("text") + private String text; + @JsonProperty("title") + private String title; + @JsonProperty("webhookUrl") + private AlertmanagerConfigSpecRMCWebhookUrl webhookUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRMsteamsConfigs() { + } + + public AlertmanagerConfigSpecRMsteamsConfigs(AlertmanagerConfigSpecRMCHttpConfig httpConfig, Boolean sendResolved, String summary, String text, String title, AlertmanagerConfigSpecRMCWebhookUrl webhookUrl) { + super(); + this.httpConfig = httpConfig; + this.sendResolved = sendResolved; + this.summary = summary; + this.text = text; + this.title = title; + this.webhookUrl = webhookUrl; + } + + @JsonProperty("httpConfig") + public AlertmanagerConfigSpecRMCHttpConfig getHttpConfig() { + return httpConfig; + } + + @JsonProperty("httpConfig") + public void setHttpConfig(AlertmanagerConfigSpecRMCHttpConfig httpConfig) { + this.httpConfig = httpConfig; + } + + @JsonProperty("sendResolved") + public Boolean getSendResolved() { + return sendResolved; + } + + @JsonProperty("sendResolved") + public void setSendResolved(Boolean sendResolved) { + this.sendResolved = sendResolved; + } + + @JsonProperty("summary") + public String getSummary() { + return summary; + } + + @JsonProperty("summary") + public void setSummary(String summary) { + this.summary = summary; + } + + @JsonProperty("text") + public String getText() { + return text; + } + + @JsonProperty("text") + public void setText(String text) { + this.text = text; + } + + @JsonProperty("title") + public String getTitle() { + return title; + } + + @JsonProperty("title") + public void setTitle(String title) { + this.title = title; + } + + @JsonProperty("webhookUrl") + public AlertmanagerConfigSpecRMCWebhookUrl getWebhookUrl() { + return webhookUrl; + } + + @JsonProperty("webhookUrl") + public void setWebhookUrl(AlertmanagerConfigSpecRMCWebhookUrl webhookUrl) { + this.webhookUrl = webhookUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRMsteamsConfigsBuilder edit() { + return new AlertmanagerConfigSpecRMsteamsConfigsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRMsteamsConfigsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCApiKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCApiKey.java new file mode 100644 index 00000000000..e855ccbf0e0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCApiKey.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCApiKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCApiKey() { + } + + public AlertmanagerConfigSpecROCApiKey(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCApiKeyBuilder edit() { + return new AlertmanagerConfigSpecROCApiKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCApiKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCDetails.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCDetails.java new file mode 100644 index 00000000000..3d978891c1e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCDetails.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCDetails implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCDetails() { + } + + public AlertmanagerConfigSpecROCDetails(String key, String value) { + super(); + this.key = key; + this.value = value; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCDetailsBuilder edit() { + return new AlertmanagerConfigSpecROCDetailsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCDetailsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCACredentials.java new file mode 100644 index 00000000000..46a62e67c9b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCACredentials() { + } + + public AlertmanagerConfigSpecROCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecROCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCAuthorization.java new file mode 100644 index 00000000000..a8ee4b18841 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecROCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCAuthorization() { + } + + public AlertmanagerConfigSpecROCHCAuthorization(AlertmanagerConfigSpecROCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecROCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecROCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecROCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuth.java new file mode 100644 index 00000000000..f353f91cfb0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecROCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecROCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCBasicAuth() { + } + + public AlertmanagerConfigSpecROCHCBasicAuth(AlertmanagerConfigSpecROCHCBasicAuthPassword password, AlertmanagerConfigSpecROCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecROCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecROCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecROCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecROCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecROCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthPassword.java new file mode 100644 index 00000000000..589b8fd1868 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecROCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecROCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthUsername.java new file mode 100644 index 00000000000..9a4db17c416 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecROCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecROCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBearerTokenSecret.java new file mode 100644 index 00000000000..dba5becb0bf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecROCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecROCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCIConfigMap.java new file mode 100644 index 00000000000..24cc7028d3f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecROCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecROCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCISecret.java new file mode 100644 index 00000000000..4144cbe6f40 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCOCISecret() { + } + + public AlertmanagerConfigSpecROCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecROCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientId.java new file mode 100644 index 00000000000..f72466b1a54 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecROCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecROCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCOClientId() { + } + + public AlertmanagerConfigSpecROCHCOClientId(AlertmanagerConfigSpecROCHCOCIConfigMap configMap, AlertmanagerConfigSpecROCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecROCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecROCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecROCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecROCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecROCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientSecret.java new file mode 100644 index 00000000000..3e31d2ecda0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCOClientSecret() { + } + + public AlertmanagerConfigSpecROCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecROCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOauth2.java new file mode 100644 index 00000000000..d5494490ea0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecROCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecROCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCOauth2() { + } + + public AlertmanagerConfigSpecROCHCOauth2(AlertmanagerConfigSpecROCHCOClientId clientId, AlertmanagerConfigSpecROCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecROCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecROCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecROCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecROCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecROCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap.java new file mode 100644 index 00000000000..6709a188225 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecROCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecROCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..7fb2b62220e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecROCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecROCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret.java new file mode 100644 index 00000000000..d464f228100 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCSecret() { + } + + public AlertmanagerConfigSpecROCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecROCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret_1.java new file mode 100644 index 00000000000..da5c24b61e7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecROCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecROCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCa.java new file mode 100644 index 00000000000..b91be3a2878 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecROCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecROCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCa() { + } + + public AlertmanagerConfigSpecROCHCTCCa(AlertmanagerConfigSpecROCHCTCCConfigMap configMap, AlertmanagerConfigSpecROCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecROCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecROCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecROCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecROCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecROCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCert.java new file mode 100644 index 00000000000..18b6a30fd6c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecROCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecROCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCCert() { + } + + public AlertmanagerConfigSpecROCHCTCCert(AlertmanagerConfigSpecROCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecROCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecROCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecROCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecROCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecROCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecROCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCKeySecret.java new file mode 100644 index 00000000000..f72464cbf92 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecROCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecROCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTlsConfig.java new file mode 100644 index 00000000000..cd8915e5ad2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecROCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecROCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecROCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHCTlsConfig() { + } + + public AlertmanagerConfigSpecROCHCTlsConfig(AlertmanagerConfigSpecROCHCTCCa ca, AlertmanagerConfigSpecROCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecROCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecROCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecROCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecROCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecROCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecROCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecROCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecROCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHttpConfig.java new file mode 100644 index 00000000000..46c729e5eb6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecROCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecROCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecROCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecROCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecROCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecROCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecROCHttpConfig() { + } + + public AlertmanagerConfigSpecROCHttpConfig(AlertmanagerConfigSpecROCHCAuthorization authorization, AlertmanagerConfigSpecROCHCBasicAuth basicAuth, AlertmanagerConfigSpecROCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecROCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecROCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecROCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecROCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecROCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecROCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecROCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecROCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecROCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecROCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecROCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecROCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecROCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecROCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCResponders.java similarity index 87% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCResponders.java index 62967482444..0aa9ad4b12c 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/OpsGenieConfigResponder.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecROCResponders.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class OpsGenieConfigResponder implements Editable , KubernetesResource +public class AlertmanagerConfigSpecROCResponders implements Editable , KubernetesResource { @JsonProperty("id") @@ -72,10 +72,10 @@ public class OpsGenieConfigResponder implements Editable , KubernetesResource +public class AlertmanagerConfigSpecROpsgenieConfigs implements Editable , KubernetesResource { @JsonProperty("actions") private String actions; @JsonProperty("apiKey") - private SecretKeySelector apiKey; + private AlertmanagerConfigSpecROCApiKey apiKey; @JsonProperty("apiURL") private String apiURL; @JsonProperty("description") private String description; @JsonProperty("details") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List details = new ArrayList<>(); + private List details = new ArrayList<>(); @JsonProperty("entity") private String entity; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecROCHttpConfig httpConfig; @JsonProperty("message") private String message; @JsonProperty("note") @@ -94,15 +92,13 @@ public class OpsGenieConfig implements Editable , Kuberne private String priority; @JsonProperty("responders") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List responders = new ArrayList<>(); + private List responders = new ArrayList<>(); @JsonProperty("sendResolved") private Boolean sendResolved; @JsonProperty("source") private String source; @JsonProperty("tags") private String tags; - @JsonProperty("updateAlerts") - private Boolean updateAlerts; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -110,10 +106,10 @@ public class OpsGenieConfig implements Editable , Kuberne * No args constructor for use in serialization * */ - public OpsGenieConfig() { + public AlertmanagerConfigSpecROpsgenieConfigs() { } - public OpsGenieConfig(String actions, SecretKeySelector apiKey, String apiURL, String description, List details, String entity, HTTPConfig httpConfig, String message, String note, String priority, List responders, Boolean sendResolved, String source, String tags, Boolean updateAlerts) { + public AlertmanagerConfigSpecROpsgenieConfigs(String actions, AlertmanagerConfigSpecROCApiKey apiKey, String apiURL, String description, List details, String entity, AlertmanagerConfigSpecROCHttpConfig httpConfig, String message, String note, String priority, List responders, Boolean sendResolved, String source, String tags) { super(); this.actions = actions; this.apiKey = apiKey; @@ -129,7 +125,6 @@ public OpsGenieConfig(String actions, SecretKeySelector apiKey, String apiURL, S this.sendResolved = sendResolved; this.source = source; this.tags = tags; - this.updateAlerts = updateAlerts; } @JsonProperty("actions") @@ -143,12 +138,12 @@ public void setActions(String actions) { } @JsonProperty("apiKey") - public SecretKeySelector getApiKey() { + public AlertmanagerConfigSpecROCApiKey getApiKey() { return apiKey; } @JsonProperty("apiKey") - public void setApiKey(SecretKeySelector apiKey) { + public void setApiKey(AlertmanagerConfigSpecROCApiKey apiKey) { this.apiKey = apiKey; } @@ -174,12 +169,12 @@ public void setDescription(String description) { @JsonProperty("details") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDetails() { + public List getDetails() { return details; } @JsonProperty("details") - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } @@ -194,12 +189,12 @@ public void setEntity(String entity) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecROCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecROCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -235,12 +230,12 @@ public void setPriority(String priority) { @JsonProperty("responders") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getResponders() { + public List getResponders() { return responders; } @JsonProperty("responders") - public void setResponders(List responders) { + public void setResponders(List responders) { this.responders = responders; } @@ -274,23 +269,13 @@ public void setTags(String tags) { this.tags = tags; } - @JsonProperty("updateAlerts") - public Boolean getUpdateAlerts() { - return updateAlerts; - } - - @JsonProperty("updateAlerts") - public void setUpdateAlerts(Boolean updateAlerts) { - this.updateAlerts = updateAlerts; - } - @JsonIgnore - public OpsGenieConfigBuilder edit() { - return new OpsGenieConfigBuilder(this); + public AlertmanagerConfigSpecROpsgenieConfigsBuilder edit() { + return new AlertmanagerConfigSpecROpsgenieConfigsBuilder(this); } @JsonIgnore - public OpsGenieConfigBuilder toBuilder() { + public AlertmanagerConfigSpecROpsgenieConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCDetails.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCDetails.java new file mode 100644 index 00000000000..40951804eb7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCDetails.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCDetails implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCDetails() { + } + + public AlertmanagerConfigSpecRPCDetails(String key, String value) { + super(); + this.key = key; + this.value = value; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCDetailsBuilder edit() { + return new AlertmanagerConfigSpecRPCDetailsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCDetailsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials.java new file mode 100644 index 00000000000..9f161aa0a3d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCACredentials() { + } + + public AlertmanagerConfigSpecRPCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRPCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials_1.java new file mode 100644 index 00000000000..ca367543d2c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCACredentials_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCACredentials_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCACredentials_1() { + } + + public AlertmanagerConfigSpecRPCHCACredentials_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCACredentials_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCACredentials_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCACredentials_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization.java new file mode 100644 index 00000000000..98fa86d3533 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRPCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCAuthorization() { + } + + public AlertmanagerConfigSpecRPCHCAuthorization(AlertmanagerConfigSpecRPCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRPCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRPCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRPCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization_1.java new file mode 100644 index 00000000000..474f115f914 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCAuthorization_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCAuthorization_1 implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRPCHCACredentials_1 credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCAuthorization_1() { + } + + public AlertmanagerConfigSpecRPCHCAuthorization_1(AlertmanagerConfigSpecRPCHCACredentials_1 credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRPCHCACredentials_1 getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRPCHCACredentials_1 credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCAuthorization_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCAuthorization_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCAuthorization_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth.java new file mode 100644 index 00000000000..5f563f0f5bd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRPCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRPCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuth(AlertmanagerConfigSpecRPCHCBasicAuthPassword password, AlertmanagerConfigSpecRPCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRPCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRPCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRPCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRPCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword.java new file mode 100644 index 00000000000..612b8f82598 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword_1.java new file mode 100644 index 00000000000..96896fd2207 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthPassword_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuthPassword_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuthPassword_1() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuthPassword_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthPassword_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuthPassword_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthPassword_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername.java new file mode 100644 index 00000000000..f0ea32eb9dc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername_1.java new file mode 100644 index 00000000000..560293320ca --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuthUsername_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuthUsername_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuthUsername_1() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuthUsername_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthUsername_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuthUsername_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuthUsername_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth_1.java new file mode 100644 index 00000000000..d0fbb65354d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBasicAuth_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBasicAuth_1 implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRPCHCBasicAuthPassword_1 password; + @JsonProperty("username") + private AlertmanagerConfigSpecRPCHCBasicAuthUsername_1 username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBasicAuth_1() { + } + + public AlertmanagerConfigSpecRPCHCBasicAuth_1(AlertmanagerConfigSpecRPCHCBasicAuthPassword_1 password, AlertmanagerConfigSpecRPCHCBasicAuthUsername_1 username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRPCHCBasicAuthPassword_1 getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRPCHCBasicAuthPassword_1 password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRPCHCBasicAuthUsername_1 getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRPCHCBasicAuthUsername_1 username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuth_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCBasicAuth_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBasicAuth_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret.java new file mode 100644 index 00000000000..4bb251072e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRPCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRPCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret_1.java new file mode 100644 index 00000000000..3183074f787 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCBearerTokenSecret_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCBearerTokenSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCBearerTokenSecret_1() { + } + + public AlertmanagerConfigSpecRPCHCBearerTokenSecret_1(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBearerTokenSecret_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCBearerTokenSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCBearerTokenSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap.java new file mode 100644 index 00000000000..a8026190199 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRPCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRPCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap_1.java new file mode 100644 index 00000000000..2c99c1d6fde --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCIConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOCIConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOCIConfigMap_1() { + } + + public AlertmanagerConfigSpecRPCHCOCIConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCIConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCOCIConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCIConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret.java new file mode 100644 index 00000000000..8ed3c35fbd6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOCISecret() { + } + + public AlertmanagerConfigSpecRPCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRPCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret_1.java new file mode 100644 index 00000000000..313d27c34bc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOCISecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOCISecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOCISecret_1() { + } + + public AlertmanagerConfigSpecRPCHCOCISecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCISecret_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCOCISecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOCISecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId.java new file mode 100644 index 00000000000..34efb47d79b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOClientId() { + } + + public AlertmanagerConfigSpecRPCHCOClientId(AlertmanagerConfigSpecRPCHCOCIConfigMap configMap, AlertmanagerConfigSpecRPCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRPCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId_1.java new file mode 100644 index 00000000000..e049371567b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientId_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOClientId_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCOCIConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCOCISecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOClientId_1() { + } + + public AlertmanagerConfigSpecRPCHCOClientId_1(AlertmanagerConfigSpecRPCHCOCIConfigMap_1 configMap, AlertmanagerConfigSpecRPCHCOCISecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCOCIConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCOCIConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCOCISecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCOCISecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientId_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCOClientId_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientId_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret.java new file mode 100644 index 00000000000..e2819ec1586 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRPCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRPCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret_1.java new file mode 100644 index 00000000000..051801b4ce0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOClientSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOClientSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOClientSecret_1() { + } + + public AlertmanagerConfigSpecRPCHCOClientSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientSecret_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCOClientSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOClientSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2.java new file mode 100644 index 00000000000..1adb1b9b9e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRPCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRPCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOauth2() { + } + + public AlertmanagerConfigSpecRPCHCOauth2(AlertmanagerConfigSpecRPCHCOClientId clientId, AlertmanagerConfigSpecRPCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRPCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRPCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRPCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRPCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRPCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2_1.java new file mode 100644 index 00000000000..3c4a5bf8cea --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCOauth2_1.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCOauth2_1 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRPCHCOClientId_1 clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRPCHCOClientSecret_1 clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCOauth2_1() { + } + + public AlertmanagerConfigSpecRPCHCOauth2_1(AlertmanagerConfigSpecRPCHCOClientId_1 clientId, AlertmanagerConfigSpecRPCHCOClientSecret_1 clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRPCHCOClientId_1 getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRPCHCOClientId_1 clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRPCHCOClientSecret_1 getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRPCHCOClientSecret_1 clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOauth2_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCOauth2_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCOauth2_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap.java new file mode 100644 index 00000000000..dcbbf2a620b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRPCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..64350565058 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRPCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_2.java new file mode 100644 index 00000000000..077cbfef1fd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCConfigMap_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCConfigMap_2() { + } + + public AlertmanagerConfigSpecRPCHCTCCConfigMap_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_2Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCConfigMap_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_3.java new file mode 100644 index 00000000000..5abcb239e90 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCConfigMap_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCConfigMap_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCConfigMap_3() { + } + + public AlertmanagerConfigSpecRPCHCTCCConfigMap_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_3Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCConfigMap_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCConfigMap_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret.java new file mode 100644 index 00000000000..4ace0d907c6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRPCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_1.java new file mode 100644 index 00000000000..b5b5486521e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRPCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_2.java new file mode 100644 index 00000000000..fffded6eba6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCSecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCSecret_2() { + } + + public AlertmanagerConfigSpecRPCHCTCCSecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_2Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCSecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_3.java new file mode 100644 index 00000000000..4d4ee3905dc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCSecret_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCSecret_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCSecret_3() { + } + + public AlertmanagerConfigSpecRPCHCTCCSecret_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_3Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCSecret_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCSecret_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa.java new file mode 100644 index 00000000000..8d107b6f321 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCa() { + } + + public AlertmanagerConfigSpecRPCHCTCCa(AlertmanagerConfigSpecRPCHCTCCConfigMap configMap, AlertmanagerConfigSpecRPCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa_1.java new file mode 100644 index 00000000000..1defe2d4f17 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCa_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCa_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCTCCConfigMap_2 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCTCCSecret_2 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCa_1() { + } + + public AlertmanagerConfigSpecRPCHCTCCa_1(AlertmanagerConfigSpecRPCHCTCCConfigMap_2 configMap, AlertmanagerConfigSpecRPCHCTCCSecret_2 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCTCCConfigMap_2 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCTCCConfigMap_2 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCTCCSecret_2 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCTCCSecret_2 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCa_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCa_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCa_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert.java new file mode 100644 index 00000000000..33d54f1b579 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCert() { + } + + public AlertmanagerConfigSpecRPCHCTCCert(AlertmanagerConfigSpecRPCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRPCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert_1.java new file mode 100644 index 00000000000..b6629a109f6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCCert_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCCert_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRPCHCTCCConfigMap_3 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRPCHCTCCSecret_3 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCCert_1() { + } + + public AlertmanagerConfigSpecRPCHCTCCert_1(AlertmanagerConfigSpecRPCHCTCCConfigMap_3 configMap, AlertmanagerConfigSpecRPCHCTCCSecret_3 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRPCHCTCCConfigMap_3 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRPCHCTCCConfigMap_3 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRPCHCTCCSecret_3 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRPCHCTCCSecret_3 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCert_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCCert_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCCert_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret.java new file mode 100644 index 00000000000..219bb9c1c00 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRPCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret_1.java new file mode 100644 index 00000000000..33ee81dad4a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTCKeySecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTCKeySecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTCKeySecret_1() { + } + + public AlertmanagerConfigSpecRPCHCTCKeySecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCKeySecret_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTCKeySecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTCKeySecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig.java new file mode 100644 index 00000000000..f3c9ed6583b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRPCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRPCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRPCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRPCHCTlsConfig(AlertmanagerConfigSpecRPCHCTCCa ca, AlertmanagerConfigSpecRPCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRPCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRPCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRPCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRPCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRPCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRPCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRPCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRPCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig_1.java new file mode 100644 index 00000000000..d1efbb3c5ff --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHCTlsConfig_1.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHCTlsConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRPCHCTCCa_1 ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRPCHCTCCert_1 cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRPCHCTCKeySecret_1 keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHCTlsConfig_1() { + } + + public AlertmanagerConfigSpecRPCHCTlsConfig_1(AlertmanagerConfigSpecRPCHCTCCa_1 ca, AlertmanagerConfigSpecRPCHCTCCert_1 cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRPCHCTCKeySecret_1 keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRPCHCTCCa_1 getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRPCHCTCCa_1 ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRPCHCTCCert_1 getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRPCHCTCCert_1 cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRPCHCTCKeySecret_1 getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRPCHCTCKeySecret_1 keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTlsConfig_1Builder edit() { + return new AlertmanagerConfigSpecRPCHCTlsConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHCTlsConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig.java new file mode 100644 index 00000000000..07f3b56aafa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRPCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRPCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRPCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRPCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRPCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHttpConfig() { + } + + public AlertmanagerConfigSpecRPCHttpConfig(AlertmanagerConfigSpecRPCHCAuthorization authorization, AlertmanagerConfigSpecRPCHCBasicAuth basicAuth, AlertmanagerConfigSpecRPCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRPCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRPCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRPCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRPCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRPCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRPCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRPCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRPCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRPCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRPCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRPCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRPCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRPCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig_1.java new file mode 100644 index 00000000000..e157b20ae91 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCHttpConfig_1.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCHttpConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRPCHCAuthorization_1 authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRPCHCBasicAuth_1 basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRPCHCBearerTokenSecret_1 bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRPCHCOauth2_1 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRPCHCTlsConfig_1 tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCHttpConfig_1() { + } + + public AlertmanagerConfigSpecRPCHttpConfig_1(AlertmanagerConfigSpecRPCHCAuthorization_1 authorization, AlertmanagerConfigSpecRPCHCBasicAuth_1 basicAuth, AlertmanagerConfigSpecRPCHCBearerTokenSecret_1 bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRPCHCOauth2_1 oauth2, String proxyURL, AlertmanagerConfigSpecRPCHCTlsConfig_1 tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRPCHCAuthorization_1 getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRPCHCAuthorization_1 authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRPCHCBasicAuth_1 getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRPCHCBasicAuth_1 basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRPCHCBearerTokenSecret_1 getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRPCHCBearerTokenSecret_1 bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRPCHCOauth2_1 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRPCHCOauth2_1 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRPCHCTlsConfig_1 getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRPCHCTlsConfig_1 tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHttpConfig_1Builder edit() { + return new AlertmanagerConfigSpecRPCHttpConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCHttpConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCPagerDutyImageConfigs.java similarity index 85% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCPagerDutyImageConfigs.java index d13fef6a498..ffbb766a381 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyImageConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCPagerDutyImageConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -53,7 +53,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PagerDutyImageConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRPCPagerDutyImageConfigs implements Editable , KubernetesResource { @JsonProperty("alt") @@ -69,10 +69,10 @@ public class PagerDutyImageConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRPCPagerDutyLinkConfigs implements Editable , KubernetesResource { @JsonProperty("alt") @@ -66,10 +66,10 @@ public class PagerDutyLinkConfig implements Editable * No args constructor for use in serialization * */ - public PagerDutyLinkConfig() { + public AlertmanagerConfigSpecRPCPagerDutyLinkConfigs() { } - public PagerDutyLinkConfig(String alt, String href) { + public AlertmanagerConfigSpecRPCPagerDutyLinkConfigs(String alt, String href) { super(); this.alt = alt; this.href = href; @@ -96,12 +96,12 @@ public void setHref(String href) { } @JsonIgnore - public PagerDutyLinkConfigBuilder edit() { - return new PagerDutyLinkConfigBuilder(this); + public AlertmanagerConfigSpecRPCPagerDutyLinkConfigsBuilder edit() { + return new AlertmanagerConfigSpecRPCPagerDutyLinkConfigsBuilder(this); } @JsonIgnore - public PagerDutyLinkConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRPCPagerDutyLinkConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCRoutingKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCRoutingKey.java new file mode 100644 index 00000000000..09eb442c474 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCRoutingKey.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCRoutingKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCRoutingKey() { + } + + public AlertmanagerConfigSpecRPCRoutingKey(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCRoutingKeyBuilder edit() { + return new AlertmanagerConfigSpecRPCRoutingKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCRoutingKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCServiceKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCServiceKey.java new file mode 100644 index 00000000000..66159d20c51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCServiceKey.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCServiceKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCServiceKey() { + } + + public AlertmanagerConfigSpecRPCServiceKey(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCServiceKeyBuilder edit() { + return new AlertmanagerConfigSpecRPCServiceKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCServiceKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCToken.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCToken.java new file mode 100644 index 00000000000..67ec904c306 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCToken.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCToken implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCToken() { + } + + public AlertmanagerConfigSpecRPCToken(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCTokenBuilder edit() { + return new AlertmanagerConfigSpecRPCTokenBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCTokenBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCUserKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCUserKey.java new file mode 100644 index 00000000000..2e20da59bfe --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPCUserKey.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRPCUserKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRPCUserKey() { + } + + public AlertmanagerConfigSpecRPCUserKey(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCUserKeyBuilder edit() { + return new AlertmanagerConfigSpecRPCUserKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRPCUserKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPagerdutyConfigs.java similarity index 73% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPagerdutyConfigs.java index 062d6dab1c3..22786b6c188 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PagerDutyConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPagerdutyConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -68,11 +67,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PagerDutyConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRPagerdutyConfigs implements Editable , KubernetesResource { @JsonProperty("class") - private String className; + private String clazz; @JsonProperty("client") private String client; @JsonProperty("clientURL") @@ -83,23 +82,23 @@ public class PagerDutyConfig implements Editable , Kuber private String description; @JsonProperty("details") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List details = new ArrayList<>(); + private List details = new ArrayList<>(); @JsonProperty("group") private String group; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRPCHttpConfig httpConfig; @JsonProperty("pagerDutyImageConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List pagerDutyImageConfigs = new ArrayList<>(); + private List pagerDutyImageConfigs = new ArrayList<>(); @JsonProperty("pagerDutyLinkConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List pagerDutyLinkConfigs = new ArrayList<>(); + private List pagerDutyLinkConfigs = new ArrayList<>(); @JsonProperty("routingKey") - private SecretKeySelector routingKey; + private AlertmanagerConfigSpecRPCRoutingKey routingKey; @JsonProperty("sendResolved") private Boolean sendResolved; @JsonProperty("serviceKey") - private SecretKeySelector serviceKey; + private AlertmanagerConfigSpecRPCServiceKey serviceKey; @JsonProperty("severity") private String severity; @JsonProperty("url") @@ -111,12 +110,12 @@ public class PagerDutyConfig implements Editable , Kuber * No args constructor for use in serialization * */ - public PagerDutyConfig() { + public AlertmanagerConfigSpecRPagerdutyConfigs() { } - public PagerDutyConfig(String className, String client, String clientURL, String component, String description, List details, String group, HTTPConfig httpConfig, List pagerDutyImageConfigs, List pagerDutyLinkConfigs, SecretKeySelector routingKey, Boolean sendResolved, SecretKeySelector serviceKey, String severity, String url) { + public AlertmanagerConfigSpecRPagerdutyConfigs(String clazz, String client, String clientURL, String component, String description, List details, String group, AlertmanagerConfigSpecRPCHttpConfig httpConfig, List pagerDutyImageConfigs, List pagerDutyLinkConfigs, AlertmanagerConfigSpecRPCRoutingKey routingKey, Boolean sendResolved, AlertmanagerConfigSpecRPCServiceKey serviceKey, String severity, String url) { super(); - this.className = className; + this.clazz = clazz; this.client = client; this.clientURL = clientURL; this.component = component; @@ -134,13 +133,13 @@ public PagerDutyConfig(String className, String client, String clientURL, String } @JsonProperty("class") - public String getClassName() { - return className; + public String getClazz() { + return clazz; } @JsonProperty("class") - public void setClassName(String className) { - this.className = className; + public void setClazz(String clazz) { + this.clazz = clazz; } @JsonProperty("client") @@ -185,12 +184,12 @@ public void setDescription(String description) { @JsonProperty("details") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDetails() { + public List getDetails() { return details; } @JsonProperty("details") - public void setDetails(List details) { + public void setDetails(List details) { this.details = details; } @@ -205,44 +204,44 @@ public void setGroup(String group) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRPCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRPCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @JsonProperty("pagerDutyImageConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPagerDutyImageConfigs() { + public List getPagerDutyImageConfigs() { return pagerDutyImageConfigs; } @JsonProperty("pagerDutyImageConfigs") - public void setPagerDutyImageConfigs(List pagerDutyImageConfigs) { + public void setPagerDutyImageConfigs(List pagerDutyImageConfigs) { this.pagerDutyImageConfigs = pagerDutyImageConfigs; } @JsonProperty("pagerDutyLinkConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPagerDutyLinkConfigs() { + public List getPagerDutyLinkConfigs() { return pagerDutyLinkConfigs; } @JsonProperty("pagerDutyLinkConfigs") - public void setPagerDutyLinkConfigs(List pagerDutyLinkConfigs) { + public void setPagerDutyLinkConfigs(List pagerDutyLinkConfigs) { this.pagerDutyLinkConfigs = pagerDutyLinkConfigs; } @JsonProperty("routingKey") - public SecretKeySelector getRoutingKey() { + public AlertmanagerConfigSpecRPCRoutingKey getRoutingKey() { return routingKey; } @JsonProperty("routingKey") - public void setRoutingKey(SecretKeySelector routingKey) { + public void setRoutingKey(AlertmanagerConfigSpecRPCRoutingKey routingKey) { this.routingKey = routingKey; } @@ -257,12 +256,12 @@ public void setSendResolved(Boolean sendResolved) { } @JsonProperty("serviceKey") - public SecretKeySelector getServiceKey() { + public AlertmanagerConfigSpecRPCServiceKey getServiceKey() { return serviceKey; } @JsonProperty("serviceKey") - public void setServiceKey(SecretKeySelector serviceKey) { + public void setServiceKey(AlertmanagerConfigSpecRPCServiceKey serviceKey) { this.serviceKey = serviceKey; } @@ -287,12 +286,12 @@ public void setUrl(String url) { } @JsonIgnore - public PagerDutyConfigBuilder edit() { - return new PagerDutyConfigBuilder(this); + public AlertmanagerConfigSpecRPagerdutyConfigsBuilder edit() { + return new AlertmanagerConfigSpecRPagerdutyConfigsBuilder(this); } @JsonIgnore - public PagerDutyConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRPagerdutyConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPushoverConfigs.java similarity index 72% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPushoverConfigs.java index 763760c7c06..563f948c076 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/PushoverConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRPushoverConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -32,6 +31,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "device", "expire", "html", "httpConfig", @@ -42,9 +42,11 @@ "sound", "title", "token", + "tokenFile", "url", "urlTitle", - "userKey" + "userKey", + "userKeyFile" }) @ToString @EqualsAndHashCode @@ -64,15 +66,17 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class PushoverConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRPushoverConfigs implements Editable , KubernetesResource { + @JsonProperty("device") + private String device; @JsonProperty("expire") private String expire; @JsonProperty("html") private Boolean html; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRPCHttpConfig_1 httpConfig; @JsonProperty("message") private String message; @JsonProperty("priority") @@ -86,13 +90,17 @@ public class PushoverConfig implements Editable , Kuberne @JsonProperty("title") private String title; @JsonProperty("token") - private SecretKeySelector token; + private AlertmanagerConfigSpecRPCToken token; + @JsonProperty("tokenFile") + private String tokenFile; @JsonProperty("url") private String url; @JsonProperty("urlTitle") private String urlTitle; @JsonProperty("userKey") - private SecretKeySelector userKey; + private AlertmanagerConfigSpecRPCUserKey userKey; + @JsonProperty("userKeyFile") + private String userKeyFile; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -100,11 +108,12 @@ public class PushoverConfig implements Editable , Kuberne * No args constructor for use in serialization * */ - public PushoverConfig() { + public AlertmanagerConfigSpecRPushoverConfigs() { } - public PushoverConfig(String expire, Boolean html, HTTPConfig httpConfig, String message, String priority, String retry, Boolean sendResolved, String sound, String title, SecretKeySelector token, String url, String urlTitle, SecretKeySelector userKey) { + public AlertmanagerConfigSpecRPushoverConfigs(String device, String expire, Boolean html, AlertmanagerConfigSpecRPCHttpConfig_1 httpConfig, String message, String priority, String retry, Boolean sendResolved, String sound, String title, AlertmanagerConfigSpecRPCToken token, String tokenFile, String url, String urlTitle, AlertmanagerConfigSpecRPCUserKey userKey, String userKeyFile) { super(); + this.device = device; this.expire = expire; this.html = html; this.httpConfig = httpConfig; @@ -115,9 +124,21 @@ public PushoverConfig(String expire, Boolean html, HTTPConfig httpConfig, String this.sound = sound; this.title = title; this.token = token; + this.tokenFile = tokenFile; this.url = url; this.urlTitle = urlTitle; this.userKey = userKey; + this.userKeyFile = userKeyFile; + } + + @JsonProperty("device") + public String getDevice() { + return device; + } + + @JsonProperty("device") + public void setDevice(String device) { + this.device = device; } @JsonProperty("expire") @@ -141,12 +162,12 @@ public void setHtml(Boolean html) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRPCHttpConfig_1 getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRPCHttpConfig_1 httpConfig) { this.httpConfig = httpConfig; } @@ -211,15 +232,25 @@ public void setTitle(String title) { } @JsonProperty("token") - public SecretKeySelector getToken() { + public AlertmanagerConfigSpecRPCToken getToken() { return token; } @JsonProperty("token") - public void setToken(SecretKeySelector token) { + public void setToken(AlertmanagerConfigSpecRPCToken token) { this.token = token; } + @JsonProperty("tokenFile") + public String getTokenFile() { + return tokenFile; + } + + @JsonProperty("tokenFile") + public void setTokenFile(String tokenFile) { + this.tokenFile = tokenFile; + } + @JsonProperty("url") public String getUrl() { return url; @@ -241,22 +272,32 @@ public void setUrlTitle(String urlTitle) { } @JsonProperty("userKey") - public SecretKeySelector getUserKey() { + public AlertmanagerConfigSpecRPCUserKey getUserKey() { return userKey; } @JsonProperty("userKey") - public void setUserKey(SecretKeySelector userKey) { + public void setUserKey(AlertmanagerConfigSpecRPCUserKey userKey) { this.userKey = userKey; } + @JsonProperty("userKeyFile") + public String getUserKeyFile() { + return userKeyFile; + } + + @JsonProperty("userKeyFile") + public void setUserKeyFile(String userKeyFile) { + this.userKeyFile = userKeyFile; + } + @JsonIgnore - public PushoverConfigBuilder edit() { - return new PushoverConfigBuilder(this); + public AlertmanagerConfigSpecRPushoverConfigsBuilder edit() { + return new AlertmanagerConfigSpecRPushoverConfigsBuilder(this); } @JsonIgnore - public PushoverConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRPushoverConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCAConfirm.java similarity index 88% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCAConfirm.java index d3cf3ec34df..a82f71dfef5 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfirmationField.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCAConfirm.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -54,7 +54,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackConfirmationField implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRSCAConfirm implements Editable , KubernetesResource { @JsonProperty("dismissText") @@ -72,10 +72,10 @@ public class SlackConfirmationField implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRSCActions implements Editable , KubernetesResource { @JsonProperty("confirm") - private SlackConfirmationField confirm; + private AlertmanagerConfigSpecRSCAConfirm confirm; @JsonProperty("name") private String name; @JsonProperty("style") @@ -81,10 +81,10 @@ public class SlackAction implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public SlackAction() { + public AlertmanagerConfigSpecRSCActions() { } - public SlackAction(SlackConfirmationField confirm, String name, String style, String text, String type, String url, String value) { + public AlertmanagerConfigSpecRSCActions(AlertmanagerConfigSpecRSCAConfirm confirm, String name, String style, String text, String type, String url, String value) { super(); this.confirm = confirm; this.name = name; @@ -96,12 +96,12 @@ public SlackAction(SlackConfirmationField confirm, String name, String style, St } @JsonProperty("confirm") - public SlackConfirmationField getConfirm() { + public AlertmanagerConfigSpecRSCAConfirm getConfirm() { return confirm; } @JsonProperty("confirm") - public void setConfirm(SlackConfirmationField confirm) { + public void setConfirm(AlertmanagerConfigSpecRSCAConfirm confirm) { this.confirm = confirm; } @@ -166,12 +166,12 @@ public void setValue(String value) { } @JsonIgnore - public SlackActionBuilder edit() { - return new SlackActionBuilder(this); + public AlertmanagerConfigSpecRSCActionsBuilder edit() { + return new AlertmanagerConfigSpecRSCActionsBuilder(this); } @JsonIgnore - public SlackActionBuilder toBuilder() { + public AlertmanagerConfigSpecRSCActionsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCApiURL.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCApiURL.java new file mode 100644 index 00000000000..bcf0574de5a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCApiURL.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCApiURL implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCApiURL() { + } + + public AlertmanagerConfigSpecRSCApiURL(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCApiURLBuilder edit() { + return new AlertmanagerConfigSpecRSCApiURLBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCApiURLBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCFields.java similarity index 88% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCFields.java index a809d5c0600..9c62f6a6a0a 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackField.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCFields.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -53,7 +53,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackField implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRSCFields implements Editable , KubernetesResource { @JsonProperty("short") @@ -69,10 +69,10 @@ public class SlackField implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public SlackField() { + public AlertmanagerConfigSpecRSCFields() { } - public SlackField(Boolean _short, String title, String value) { + public AlertmanagerConfigSpecRSCFields(Boolean _short, String title, String value) { super(); this._short = _short; this.title = title; @@ -110,12 +110,12 @@ public void setValue(String value) { } @JsonIgnore - public SlackFieldBuilder edit() { - return new SlackFieldBuilder(this); + public AlertmanagerConfigSpecRSCFieldsBuilder edit() { + return new AlertmanagerConfigSpecRSCFieldsBuilder(this); } @JsonIgnore - public SlackFieldBuilder toBuilder() { + public AlertmanagerConfigSpecRSCFieldsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials.java new file mode 100644 index 00000000000..ce25f4215c7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCACredentials() { + } + + public AlertmanagerConfigSpecRSCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRSCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials_1.java new file mode 100644 index 00000000000..d6584cea763 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCACredentials_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCACredentials_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCACredentials_1() { + } + + public AlertmanagerConfigSpecRSCHCACredentials_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCACredentials_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCACredentials_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCACredentials_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization.java new file mode 100644 index 00000000000..aa76af1aeec --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRSCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCAuthorization() { + } + + public AlertmanagerConfigSpecRSCHCAuthorization(AlertmanagerConfigSpecRSCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRSCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRSCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRSCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization_1.java new file mode 100644 index 00000000000..cf6b41c78b6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCAuthorization_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCAuthorization_1 implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRSCHCACredentials_1 credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCAuthorization_1() { + } + + public AlertmanagerConfigSpecRSCHCAuthorization_1(AlertmanagerConfigSpecRSCHCACredentials_1 credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRSCHCACredentials_1 getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRSCHCACredentials_1 credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCAuthorization_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCAuthorization_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCAuthorization_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth.java new file mode 100644 index 00000000000..fd6095ed3a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRSCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRSCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuth(AlertmanagerConfigSpecRSCHCBasicAuthPassword password, AlertmanagerConfigSpecRSCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRSCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRSCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRSCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRSCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword.java new file mode 100644 index 00000000000..edaf551386a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword_1.java new file mode 100644 index 00000000000..859a6818fc7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthPassword_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuthPassword_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuthPassword_1() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuthPassword_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthPassword_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuthPassword_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthPassword_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername.java new file mode 100644 index 00000000000..2b15672dd06 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername_1.java new file mode 100644 index 00000000000..78243419d4a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuthUsername_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuthUsername_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuthUsername_1() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuthUsername_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthUsername_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuthUsername_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuthUsername_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth_1.java new file mode 100644 index 00000000000..97e24bdd5a7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBasicAuth_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBasicAuth_1 implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRSCHCBasicAuthPassword_1 password; + @JsonProperty("username") + private AlertmanagerConfigSpecRSCHCBasicAuthUsername_1 username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBasicAuth_1() { + } + + public AlertmanagerConfigSpecRSCHCBasicAuth_1(AlertmanagerConfigSpecRSCHCBasicAuthPassword_1 password, AlertmanagerConfigSpecRSCHCBasicAuthUsername_1 username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRSCHCBasicAuthPassword_1 getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRSCHCBasicAuthPassword_1 password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRSCHCBasicAuthUsername_1 getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRSCHCBasicAuthUsername_1 username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuth_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCBasicAuth_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBasicAuth_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret.java new file mode 100644 index 00000000000..8a1f64eb3c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRSCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRSCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret_1.java new file mode 100644 index 00000000000..965b9f00f5f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCBearerTokenSecret_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCBearerTokenSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCBearerTokenSecret_1() { + } + + public AlertmanagerConfigSpecRSCHCBearerTokenSecret_1(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBearerTokenSecret_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCBearerTokenSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCBearerTokenSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap.java new file mode 100644 index 00000000000..44ecc28d1fb --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRSCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRSCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap_1.java new file mode 100644 index 00000000000..005bfd34f56 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCIConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOCIConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOCIConfigMap_1() { + } + + public AlertmanagerConfigSpecRSCHCOCIConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCIConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCOCIConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCIConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret.java new file mode 100644 index 00000000000..08d328270e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOCISecret() { + } + + public AlertmanagerConfigSpecRSCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRSCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret_1.java new file mode 100644 index 00000000000..12f40193aba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOCISecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOCISecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOCISecret_1() { + } + + public AlertmanagerConfigSpecRSCHCOCISecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCISecret_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCOCISecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOCISecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId.java new file mode 100644 index 00000000000..018358fa61c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOClientId() { + } + + public AlertmanagerConfigSpecRSCHCOClientId(AlertmanagerConfigSpecRSCHCOCIConfigMap configMap, AlertmanagerConfigSpecRSCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRSCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId_1.java new file mode 100644 index 00000000000..0484d631970 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientId_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOClientId_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCOCIConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCOCISecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOClientId_1() { + } + + public AlertmanagerConfigSpecRSCHCOClientId_1(AlertmanagerConfigSpecRSCHCOCIConfigMap_1 configMap, AlertmanagerConfigSpecRSCHCOCISecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCOCIConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCOCIConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCOCISecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCOCISecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientId_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCOClientId_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientId_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret.java new file mode 100644 index 00000000000..5768a08f76e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRSCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRSCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret_1.java new file mode 100644 index 00000000000..180ff9b3688 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOClientSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOClientSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOClientSecret_1() { + } + + public AlertmanagerConfigSpecRSCHCOClientSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientSecret_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCOClientSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOClientSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2.java new file mode 100644 index 00000000000..d98424048b0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRSCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRSCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOauth2() { + } + + public AlertmanagerConfigSpecRSCHCOauth2(AlertmanagerConfigSpecRSCHCOClientId clientId, AlertmanagerConfigSpecRSCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRSCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRSCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRSCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRSCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRSCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2_1.java new file mode 100644 index 00000000000..0315b072a11 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCOauth2_1.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCOauth2_1 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRSCHCOClientId_1 clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRSCHCOClientSecret_1 clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCOauth2_1() { + } + + public AlertmanagerConfigSpecRSCHCOauth2_1(AlertmanagerConfigSpecRSCHCOClientId_1 clientId, AlertmanagerConfigSpecRSCHCOClientSecret_1 clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRSCHCOClientId_1 getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRSCHCOClientId_1 clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRSCHCOClientSecret_1 getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRSCHCOClientSecret_1 clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOauth2_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCOauth2_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCOauth2_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap.java new file mode 100644 index 00000000000..5a795f2a10b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRSCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..08412de9002 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRSCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_2.java new file mode 100644 index 00000000000..d7b8853efde --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCConfigMap_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCConfigMap_2() { + } + + public AlertmanagerConfigSpecRSCHCTCCConfigMap_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_2Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCConfigMap_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_3.java new file mode 100644 index 00000000000..961a96cdc34 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCConfigMap_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCConfigMap_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCConfigMap_3() { + } + + public AlertmanagerConfigSpecRSCHCTCCConfigMap_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_3Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCConfigMap_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCConfigMap_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret.java new file mode 100644 index 00000000000..860f7dd0d23 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRSCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_1.java new file mode 100644 index 00000000000..d90bcf5e757 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRSCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_2.java new file mode 100644 index 00000000000..0b6e3f8aec6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCSecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCSecret_2() { + } + + public AlertmanagerConfigSpecRSCHCTCCSecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_2Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCSecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_3.java new file mode 100644 index 00000000000..5b74c69f149 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCSecret_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCSecret_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCSecret_3() { + } + + public AlertmanagerConfigSpecRSCHCTCCSecret_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_3Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCSecret_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCSecret_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa.java new file mode 100644 index 00000000000..45155efb0f9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCa() { + } + + public AlertmanagerConfigSpecRSCHCTCCa(AlertmanagerConfigSpecRSCHCTCCConfigMap configMap, AlertmanagerConfigSpecRSCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa_1.java new file mode 100644 index 00000000000..388735211e0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCa_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCa_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCTCCConfigMap_2 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCTCCSecret_2 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCa_1() { + } + + public AlertmanagerConfigSpecRSCHCTCCa_1(AlertmanagerConfigSpecRSCHCTCCConfigMap_2 configMap, AlertmanagerConfigSpecRSCHCTCCSecret_2 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCTCCConfigMap_2 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCTCCConfigMap_2 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCTCCSecret_2 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCTCCSecret_2 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCa_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCa_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCa_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert.java new file mode 100644 index 00000000000..7ca990d900f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCert() { + } + + public AlertmanagerConfigSpecRSCHCTCCert(AlertmanagerConfigSpecRSCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRSCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert_1.java new file mode 100644 index 00000000000..33737aa1934 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCCert_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCCert_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRSCHCTCCConfigMap_3 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRSCHCTCCSecret_3 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCCert_1() { + } + + public AlertmanagerConfigSpecRSCHCTCCert_1(AlertmanagerConfigSpecRSCHCTCCConfigMap_3 configMap, AlertmanagerConfigSpecRSCHCTCCSecret_3 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRSCHCTCCConfigMap_3 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRSCHCTCCConfigMap_3 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRSCHCTCCSecret_3 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRSCHCTCCSecret_3 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCert_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCCert_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCCert_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret.java new file mode 100644 index 00000000000..bce055ed4a2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRSCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret_1.java new file mode 100644 index 00000000000..0d3abb44e2e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTCKeySecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTCKeySecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTCKeySecret_1() { + } + + public AlertmanagerConfigSpecRSCHCTCKeySecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCKeySecret_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTCKeySecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTCKeySecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig.java new file mode 100644 index 00000000000..96cbb84cb32 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRSCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRSCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRSCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRSCHCTlsConfig(AlertmanagerConfigSpecRSCHCTCCa ca, AlertmanagerConfigSpecRSCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRSCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRSCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRSCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRSCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRSCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRSCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRSCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRSCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig_1.java new file mode 100644 index 00000000000..4073ed912b3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHCTlsConfig_1.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHCTlsConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRSCHCTCCa_1 ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRSCHCTCCert_1 cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRSCHCTCKeySecret_1 keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHCTlsConfig_1() { + } + + public AlertmanagerConfigSpecRSCHCTlsConfig_1(AlertmanagerConfigSpecRSCHCTCCa_1 ca, AlertmanagerConfigSpecRSCHCTCCert_1 cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRSCHCTCKeySecret_1 keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRSCHCTCCa_1 getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRSCHCTCCa_1 ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRSCHCTCCert_1 getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRSCHCTCCert_1 cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRSCHCTCKeySecret_1 getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRSCHCTCKeySecret_1 keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTlsConfig_1Builder edit() { + return new AlertmanagerConfigSpecRSCHCTlsConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHCTlsConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig.java new file mode 100644 index 00000000000..4e64dfa9a32 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRSCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRSCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRSCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRSCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRSCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHttpConfig() { + } + + public AlertmanagerConfigSpecRSCHttpConfig(AlertmanagerConfigSpecRSCHCAuthorization authorization, AlertmanagerConfigSpecRSCHCBasicAuth basicAuth, AlertmanagerConfigSpecRSCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRSCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRSCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRSCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRSCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRSCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRSCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRSCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRSCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRSCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRSCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRSCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRSCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRSCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig_1.java new file mode 100644 index 00000000000..70a9ff434a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCHttpConfig_1.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCHttpConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRSCHCAuthorization_1 authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRSCHCBasicAuth_1 basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRSCHCBearerTokenSecret_1 bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRSCHCOauth2_1 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRSCHCTlsConfig_1 tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCHttpConfig_1() { + } + + public AlertmanagerConfigSpecRSCHttpConfig_1(AlertmanagerConfigSpecRSCHCAuthorization_1 authorization, AlertmanagerConfigSpecRSCHCBasicAuth_1 basicAuth, AlertmanagerConfigSpecRSCHCBearerTokenSecret_1 bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRSCHCOauth2_1 oauth2, String proxyURL, AlertmanagerConfigSpecRSCHCTlsConfig_1 tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRSCHCAuthorization_1 getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRSCHCAuthorization_1 authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRSCHCBasicAuth_1 getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRSCHCBasicAuth_1 basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRSCHCBearerTokenSecret_1 getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRSCHCBearerTokenSecret_1 bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRSCHCOauth2_1 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRSCHCOauth2_1 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRSCHCTlsConfig_1 getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRSCHCTlsConfig_1 tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHttpConfig_1Builder edit() { + return new AlertmanagerConfigSpecRSCHttpConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCHttpConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSAccessKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSAccessKey.java new file mode 100644 index 00000000000..08133da97e9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSAccessKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCSAccessKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCSAccessKey() { + } + + public AlertmanagerConfigSpecRSCSAccessKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSAccessKeyBuilder edit() { + return new AlertmanagerConfigSpecRSCSAccessKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSAccessKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSSecretKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSSecretKey.java new file mode 100644 index 00000000000..f6573099ef6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSSecretKey.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCSSecretKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCSSecretKey() { + } + + public AlertmanagerConfigSpecRSCSSecretKey(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSSecretKeyBuilder edit() { + return new AlertmanagerConfigSpecRSCSSecretKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSSecretKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSigv4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSigv4.java new file mode 100644 index 00000000000..f98d0f3b69b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSCSigv4.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "accessKey", + "profile", + "region", + "roleArn", + "secretKey" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRSCSigv4 implements Editable , KubernetesResource +{ + + @JsonProperty("accessKey") + private AlertmanagerConfigSpecRSCSAccessKey accessKey; + @JsonProperty("profile") + private String profile; + @JsonProperty("region") + private String region; + @JsonProperty("roleArn") + private String roleArn; + @JsonProperty("secretKey") + private AlertmanagerConfigSpecRSCSSecretKey secretKey; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRSCSigv4() { + } + + public AlertmanagerConfigSpecRSCSigv4(AlertmanagerConfigSpecRSCSAccessKey accessKey, String profile, String region, String roleArn, AlertmanagerConfigSpecRSCSSecretKey secretKey) { + super(); + this.accessKey = accessKey; + this.profile = profile; + this.region = region; + this.roleArn = roleArn; + this.secretKey = secretKey; + } + + @JsonProperty("accessKey") + public AlertmanagerConfigSpecRSCSAccessKey getAccessKey() { + return accessKey; + } + + @JsonProperty("accessKey") + public void setAccessKey(AlertmanagerConfigSpecRSCSAccessKey accessKey) { + this.accessKey = accessKey; + } + + @JsonProperty("profile") + public String getProfile() { + return profile; + } + + @JsonProperty("profile") + public void setProfile(String profile) { + this.profile = profile; + } + + @JsonProperty("region") + public String getRegion() { + return region; + } + + @JsonProperty("region") + public void setRegion(String region) { + this.region = region; + } + + @JsonProperty("roleArn") + public String getRoleArn() { + return roleArn; + } + + @JsonProperty("roleArn") + public void setRoleArn(String roleArn) { + this.roleArn = roleArn; + } + + @JsonProperty("secretKey") + public AlertmanagerConfigSpecRSCSSecretKey getSecretKey() { + return secretKey; + } + + @JsonProperty("secretKey") + public void setSecretKey(AlertmanagerConfigSpecRSCSSecretKey secretKey) { + this.secretKey = secretKey; + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSigv4Builder edit() { + return new AlertmanagerConfigSpecRSCSigv4Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRSCSigv4Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSlackConfigs.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSlackConfigs.java index 7c7cf29788d..057a918a857 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SlackConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSlackConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -75,14 +74,14 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SlackConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRSlackConfigs implements Editable , KubernetesResource { @JsonProperty("actions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List actions = new ArrayList<>(); + private List actions = new ArrayList<>(); @JsonProperty("apiURL") - private SecretKeySelector apiURL; + private AlertmanagerConfigSpecRSCApiURL apiURL; @JsonProperty("callbackId") private String callbackId; @JsonProperty("channel") @@ -93,11 +92,11 @@ public class SlackConfig implements Editable , KubernetesRes private String fallback; @JsonProperty("fields") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List fields = new ArrayList<>(); + private List fields = new ArrayList<>(); @JsonProperty("footer") private String footer; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRSCHttpConfig httpConfig; @JsonProperty("iconEmoji") private String iconEmoji; @JsonProperty("iconURL") @@ -132,10 +131,10 @@ public class SlackConfig implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public SlackConfig() { + public AlertmanagerConfigSpecRSlackConfigs() { } - public SlackConfig(List actions, SecretKeySelector apiURL, String callbackId, String channel, String color, String fallback, List fields, String footer, HTTPConfig httpConfig, String iconEmoji, String iconURL, String imageURL, Boolean linkNames, List mrkdwnIn, String pretext, Boolean sendResolved, Boolean shortFields, String text, String thumbURL, String title, String titleLink, String username) { + public AlertmanagerConfigSpecRSlackConfigs(List actions, AlertmanagerConfigSpecRSCApiURL apiURL, String callbackId, String channel, String color, String fallback, List fields, String footer, AlertmanagerConfigSpecRSCHttpConfig httpConfig, String iconEmoji, String iconURL, String imageURL, Boolean linkNames, List mrkdwnIn, String pretext, Boolean sendResolved, Boolean shortFields, String text, String thumbURL, String title, String titleLink, String username) { super(); this.actions = actions; this.apiURL = apiURL; @@ -163,22 +162,22 @@ public SlackConfig(List actions, SecretKeySelector apiURL, String c @JsonProperty("actions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getActions() { + public List getActions() { return actions; } @JsonProperty("actions") - public void setActions(List actions) { + public void setActions(List actions) { this.actions = actions; } @JsonProperty("apiURL") - public SecretKeySelector getApiURL() { + public AlertmanagerConfigSpecRSCApiURL getApiURL() { return apiURL; } @JsonProperty("apiURL") - public void setApiURL(SecretKeySelector apiURL) { + public void setApiURL(AlertmanagerConfigSpecRSCApiURL apiURL) { this.apiURL = apiURL; } @@ -224,12 +223,12 @@ public void setFallback(String fallback) { @JsonProperty("fields") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getFields() { + public List getFields() { return fields; } @JsonProperty("fields") - public void setFields(List fields) { + public void setFields(List fields) { this.fields = fields; } @@ -244,12 +243,12 @@ public void setFooter(String footer) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRSCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRSCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -385,12 +384,12 @@ public void setUsername(String username) { } @JsonIgnore - public SlackConfigBuilder edit() { - return new SlackConfigBuilder(this); + public AlertmanagerConfigSpecRSlackConfigsBuilder edit() { + return new AlertmanagerConfigSpecRSlackConfigsBuilder(this); } @JsonIgnore - public SlackConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRSlackConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSnsConfigs.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSnsConfigs.java index 0f9096a11e2..a4f14ae205d 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/SNSConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRSnsConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.openshift.api.model.monitoring.v1.Sigv4; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -61,7 +60,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class SNSConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRSnsConfigs implements Editable , KubernetesResource { @JsonProperty("apiURL") @@ -70,7 +69,7 @@ public class SNSConfig implements Editable , KubernetesResourc @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map attributes = new LinkedHashMap<>(); @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRSCHttpConfig_1 httpConfig; @JsonProperty("message") private String message; @JsonProperty("phoneNumber") @@ -78,7 +77,7 @@ public class SNSConfig implements Editable , KubernetesResourc @JsonProperty("sendResolved") private Boolean sendResolved; @JsonProperty("sigv4") - private Sigv4 sigv4; + private AlertmanagerConfigSpecRSCSigv4 sigv4; @JsonProperty("subject") private String subject; @JsonProperty("targetARN") @@ -92,10 +91,10 @@ public class SNSConfig implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public SNSConfig() { + public AlertmanagerConfigSpecRSnsConfigs() { } - public SNSConfig(String apiURL, Map attributes, HTTPConfig httpConfig, String message, String phoneNumber, Boolean sendResolved, Sigv4 sigv4, String subject, String targetARN, String topicARN) { + public AlertmanagerConfigSpecRSnsConfigs(String apiURL, Map attributes, AlertmanagerConfigSpecRSCHttpConfig_1 httpConfig, String message, String phoneNumber, Boolean sendResolved, AlertmanagerConfigSpecRSCSigv4 sigv4, String subject, String targetARN, String topicARN) { super(); this.apiURL = apiURL; this.attributes = attributes; @@ -131,12 +130,12 @@ public void setAttributes(Map attributes) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRSCHttpConfig_1 getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRSCHttpConfig_1 httpConfig) { this.httpConfig = httpConfig; } @@ -171,12 +170,12 @@ public void setSendResolved(Boolean sendResolved) { } @JsonProperty("sigv4") - public Sigv4 getSigv4() { + public AlertmanagerConfigSpecRSCSigv4 getSigv4() { return sigv4; } @JsonProperty("sigv4") - public void setSigv4(Sigv4 sigv4) { + public void setSigv4(AlertmanagerConfigSpecRSCSigv4 sigv4) { this.sigv4 = sigv4; } @@ -211,12 +210,12 @@ public void setTopicARN(String topicARN) { } @JsonIgnore - public SNSConfigBuilder edit() { - return new SNSConfigBuilder(this); + public AlertmanagerConfigSpecRSnsConfigsBuilder edit() { + return new AlertmanagerConfigSpecRSnsConfigsBuilder(this); } @JsonIgnore - public SNSConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRSnsConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCBotToken.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCBotToken.java new file mode 100644 index 00000000000..9961b339b1d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCBotToken.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCBotToken implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCBotToken() { + } + + public AlertmanagerConfigSpecRTCBotToken(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCBotTokenBuilder edit() { + return new AlertmanagerConfigSpecRTCBotTokenBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCBotTokenBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCACredentials.java new file mode 100644 index 00000000000..fd8f2294e09 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCACredentials() { + } + + public AlertmanagerConfigSpecRTCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRTCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCAuthorization.java new file mode 100644 index 00000000000..6c5ee0d4791 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRTCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCAuthorization() { + } + + public AlertmanagerConfigSpecRTCHCAuthorization(AlertmanagerConfigSpecRTCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRTCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRTCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRTCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuth.java new file mode 100644 index 00000000000..d6c9c3e6d40 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRTCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRTCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRTCHCBasicAuth(AlertmanagerConfigSpecRTCHCBasicAuthPassword password, AlertmanagerConfigSpecRTCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRTCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRTCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRTCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRTCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRTCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthPassword.java new file mode 100644 index 00000000000..25a1e3fdb63 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRTCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRTCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthUsername.java new file mode 100644 index 00000000000..3704d4207d1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRTCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRTCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBearerTokenSecret.java new file mode 100644 index 00000000000..0b745141cd4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRTCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRTCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCIConfigMap.java new file mode 100644 index 00000000000..aa197e60a7e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRTCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRTCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCISecret.java new file mode 100644 index 00000000000..1a9c65e9d00 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCOCISecret() { + } + + public AlertmanagerConfigSpecRTCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRTCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientId.java new file mode 100644 index 00000000000..597f24f16bf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRTCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRTCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCOClientId() { + } + + public AlertmanagerConfigSpecRTCHCOClientId(AlertmanagerConfigSpecRTCHCOCIConfigMap configMap, AlertmanagerConfigSpecRTCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRTCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRTCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRTCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRTCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRTCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientSecret.java new file mode 100644 index 00000000000..0acae7cd957 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRTCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRTCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOauth2.java new file mode 100644 index 00000000000..96fd5b4a600 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRTCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRTCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCOauth2() { + } + + public AlertmanagerConfigSpecRTCHCOauth2(AlertmanagerConfigSpecRTCHCOClientId clientId, AlertmanagerConfigSpecRTCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRTCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRTCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRTCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRTCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRTCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap.java new file mode 100644 index 00000000000..741a154ca78 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRTCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..46dc1ec8ee9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRTCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRTCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret.java new file mode 100644 index 00000000000..5dd2281c080 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRTCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret_1.java new file mode 100644 index 00000000000..80acba1976d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRTCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRTCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCa.java new file mode 100644 index 00000000000..64b12be5b23 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRTCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRTCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCa() { + } + + public AlertmanagerConfigSpecRTCHCTCCa(AlertmanagerConfigSpecRTCHCTCCConfigMap configMap, AlertmanagerConfigSpecRTCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRTCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRTCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRTCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRTCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCert.java new file mode 100644 index 00000000000..7d0895cf9ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRTCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRTCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCCert() { + } + + public AlertmanagerConfigSpecRTCHCTCCert(AlertmanagerConfigSpecRTCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRTCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRTCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRTCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRTCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRTCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCKeySecret.java new file mode 100644 index 00000000000..c50a2cfc90c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRTCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTlsConfig.java new file mode 100644 index 00000000000..af894afb3b7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRTCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRTCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRTCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRTCHCTlsConfig(AlertmanagerConfigSpecRTCHCTCCa ca, AlertmanagerConfigSpecRTCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRTCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRTCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRTCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRTCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRTCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRTCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRTCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRTCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHttpConfig.java new file mode 100644 index 00000000000..3051c071a9b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRTCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRTCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRTCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRTCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRTCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRTCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRTCHttpConfig() { + } + + public AlertmanagerConfigSpecRTCHttpConfig(AlertmanagerConfigSpecRTCHCAuthorization authorization, AlertmanagerConfigSpecRTCHCBasicAuth basicAuth, AlertmanagerConfigSpecRTCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRTCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRTCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRTCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRTCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRTCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRTCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRTCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRTCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRTCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRTCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRTCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRTCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRTCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRTCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTelegramConfigs.java similarity index 83% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTelegramConfigs.java index e02ac91e041..8fc62c28e72 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TelegramConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRTelegramConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,13 +59,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TelegramConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRTelegramConfigs implements Editable , KubernetesResource { @JsonProperty("apiURL") private String apiURL; @JsonProperty("botToken") - private SecretKeySelector botToken; + private AlertmanagerConfigSpecRTCBotToken botToken; @JsonProperty("botTokenFile") private String botTokenFile; @JsonProperty("chatID") @@ -74,7 +73,7 @@ public class TelegramConfig implements Editable , Kuberne @JsonProperty("disableNotifications") private Boolean disableNotifications; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRTCHttpConfig httpConfig; @JsonProperty("message") private String message; @JsonProperty("parseMode") @@ -88,10 +87,10 @@ public class TelegramConfig implements Editable , Kuberne * No args constructor for use in serialization * */ - public TelegramConfig() { + public AlertmanagerConfigSpecRTelegramConfigs() { } - public TelegramConfig(String apiURL, SecretKeySelector botToken, String botTokenFile, Long chatID, Boolean disableNotifications, HTTPConfig httpConfig, String message, String parseMode, Boolean sendResolved) { + public AlertmanagerConfigSpecRTelegramConfigs(String apiURL, AlertmanagerConfigSpecRTCBotToken botToken, String botTokenFile, Long chatID, Boolean disableNotifications, AlertmanagerConfigSpecRTCHttpConfig httpConfig, String message, String parseMode, Boolean sendResolved) { super(); this.apiURL = apiURL; this.botToken = botToken; @@ -115,12 +114,12 @@ public void setApiURL(String apiURL) { } @JsonProperty("botToken") - public SecretKeySelector getBotToken() { + public AlertmanagerConfigSpecRTCBotToken getBotToken() { return botToken; } @JsonProperty("botToken") - public void setBotToken(SecretKeySelector botToken) { + public void setBotToken(AlertmanagerConfigSpecRTCBotToken botToken) { this.botToken = botToken; } @@ -155,12 +154,12 @@ public void setDisableNotifications(Boolean disableNotifications) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRTCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRTCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -195,12 +194,12 @@ public void setSendResolved(Boolean sendResolved) { } @JsonIgnore - public TelegramConfigBuilder edit() { - return new TelegramConfigBuilder(this); + public AlertmanagerConfigSpecRTelegramConfigsBuilder edit() { + return new AlertmanagerConfigSpecRTelegramConfigsBuilder(this); } @JsonIgnore - public TelegramConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRTelegramConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCApiKey.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCApiKey.java new file mode 100644 index 00000000000..271a4c15a51 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCApiKey.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCApiKey implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCApiKey() { + } + + public AlertmanagerConfigSpecRVCApiKey(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCApiKeyBuilder edit() { + return new AlertmanagerConfigSpecRVCApiKeyBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCApiKeyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCCustomFields.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCCustomFields.java new file mode 100644 index 00000000000..affbc5d5df8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCCustomFields.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCCustomFields implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCCustomFields() { + } + + public AlertmanagerConfigSpecRVCCustomFields(String key, String value) { + super(); + this.key = key; + this.value = value; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCCustomFieldsBuilder edit() { + return new AlertmanagerConfigSpecRVCCustomFieldsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCCustomFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCACredentials.java new file mode 100644 index 00000000000..3ffae7f9ab9 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCACredentials() { + } + + public AlertmanagerConfigSpecRVCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRVCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCAuthorization.java new file mode 100644 index 00000000000..80cc1276c94 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRVCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCAuthorization() { + } + + public AlertmanagerConfigSpecRVCHCAuthorization(AlertmanagerConfigSpecRVCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRVCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRVCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRVCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuth.java new file mode 100644 index 00000000000..a1637f40843 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRVCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRVCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRVCHCBasicAuth(AlertmanagerConfigSpecRVCHCBasicAuthPassword password, AlertmanagerConfigSpecRVCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRVCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRVCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRVCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRVCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRVCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthPassword.java new file mode 100644 index 00000000000..5fbecf0a070 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRVCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRVCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthUsername.java new file mode 100644 index 00000000000..00a2c2c6302 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRVCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRVCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBearerTokenSecret.java new file mode 100644 index 00000000000..ac81a31d7cd --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRVCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRVCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCIConfigMap.java new file mode 100644 index 00000000000..25738ba2857 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRVCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRVCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCISecret.java new file mode 100644 index 00000000000..d27394bc5a4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCOCISecret() { + } + + public AlertmanagerConfigSpecRVCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRVCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientId.java new file mode 100644 index 00000000000..f98d26a99bf --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRVCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRVCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCOClientId() { + } + + public AlertmanagerConfigSpecRVCHCOClientId(AlertmanagerConfigSpecRVCHCOCIConfigMap configMap, AlertmanagerConfigSpecRVCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRVCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRVCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRVCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRVCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRVCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientSecret.java new file mode 100644 index 00000000000..befa89ac4b8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRVCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRVCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOauth2.java new file mode 100644 index 00000000000..d9192f3ce22 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRVCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRVCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCOauth2() { + } + + public AlertmanagerConfigSpecRVCHCOauth2(AlertmanagerConfigSpecRVCHCOClientId clientId, AlertmanagerConfigSpecRVCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRVCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRVCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRVCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRVCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRVCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap.java new file mode 100644 index 00000000000..75a26f998e6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRVCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..ed21c803e2f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRVCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRVCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret.java new file mode 100644 index 00000000000..d0b1604c54f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRVCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret_1.java new file mode 100644 index 00000000000..73808373d29 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRVCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRVCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCa.java new file mode 100644 index 00000000000..17fbdf964d4 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRVCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRVCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCa() { + } + + public AlertmanagerConfigSpecRVCHCTCCa(AlertmanagerConfigSpecRVCHCTCCConfigMap configMap, AlertmanagerConfigSpecRVCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRVCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRVCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRVCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRVCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCert.java new file mode 100644 index 00000000000..cee394cb0aa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRVCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRVCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCCert() { + } + + public AlertmanagerConfigSpecRVCHCTCCert(AlertmanagerConfigSpecRVCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRVCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRVCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRVCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRVCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRVCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCKeySecret.java new file mode 100644 index 00000000000..8dc4236e232 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRVCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTlsConfig.java new file mode 100644 index 00000000000..fd952a40c88 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRVCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRVCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRVCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRVCHCTlsConfig(AlertmanagerConfigSpecRVCHCTCCa ca, AlertmanagerConfigSpecRVCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRVCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRVCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRVCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRVCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRVCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRVCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRVCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRVCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHttpConfig.java new file mode 100644 index 00000000000..f514d7a25e2 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRVCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRVCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRVCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRVCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRVCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRVCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRVCHttpConfig() { + } + + public AlertmanagerConfigSpecRVCHttpConfig(AlertmanagerConfigSpecRVCHCAuthorization authorization, AlertmanagerConfigSpecRVCHCBasicAuth basicAuth, AlertmanagerConfigSpecRVCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRVCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRVCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRVCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRVCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRVCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRVCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRVCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRVCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRVCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRVCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRVCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRVCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRVCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRVCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVictoropsConfigs.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVictoropsConfigs.java index 5aeb7a0ff77..b4a8f145968 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/VictorOpsConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRVictoropsConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -24,7 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -63,20 +62,20 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class VictorOpsConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRVictoropsConfigs implements Editable , KubernetesResource { @JsonProperty("apiKey") - private SecretKeySelector apiKey; + private AlertmanagerConfigSpecRVCApiKey apiKey; @JsonProperty("apiUrl") private String apiUrl; @JsonProperty("customFields") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List customFields = new ArrayList<>(); + private List customFields = new ArrayList<>(); @JsonProperty("entityDisplayName") private String entityDisplayName; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRVCHttpConfig httpConfig; @JsonProperty("messageType") private String messageType; @JsonProperty("monitoringTool") @@ -94,10 +93,10 @@ public class VictorOpsConfig implements Editable , Kuber * No args constructor for use in serialization * */ - public VictorOpsConfig() { + public AlertmanagerConfigSpecRVictoropsConfigs() { } - public VictorOpsConfig(SecretKeySelector apiKey, String apiUrl, List customFields, String entityDisplayName, HTTPConfig httpConfig, String messageType, String monitoringTool, String routingKey, Boolean sendResolved, String stateMessage) { + public AlertmanagerConfigSpecRVictoropsConfigs(AlertmanagerConfigSpecRVCApiKey apiKey, String apiUrl, List customFields, String entityDisplayName, AlertmanagerConfigSpecRVCHttpConfig httpConfig, String messageType, String monitoringTool, String routingKey, Boolean sendResolved, String stateMessage) { super(); this.apiKey = apiKey; this.apiUrl = apiUrl; @@ -112,12 +111,12 @@ public VictorOpsConfig(SecretKeySelector apiKey, String apiUrl, List c } @JsonProperty("apiKey") - public SecretKeySelector getApiKey() { + public AlertmanagerConfigSpecRVCApiKey getApiKey() { return apiKey; } @JsonProperty("apiKey") - public void setApiKey(SecretKeySelector apiKey) { + public void setApiKey(AlertmanagerConfigSpecRVCApiKey apiKey) { this.apiKey = apiKey; } @@ -133,12 +132,12 @@ public void setApiUrl(String apiUrl) { @JsonProperty("customFields") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getCustomFields() { + public List getCustomFields() { return customFields; } @JsonProperty("customFields") - public void setCustomFields(List customFields) { + public void setCustomFields(List customFields) { this.customFields = customFields; } @@ -153,12 +152,12 @@ public void setEntityDisplayName(String entityDisplayName) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRVCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRVCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -213,12 +212,12 @@ public void setStateMessage(String stateMessage) { } @JsonIgnore - public VictorOpsConfigBuilder edit() { - return new VictorOpsConfigBuilder(this); + public AlertmanagerConfigSpecRVictoropsConfigsBuilder edit() { + return new AlertmanagerConfigSpecRVictoropsConfigsBuilder(this); } @JsonIgnore - public VictorOpsConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRVictoropsConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCApiSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCApiSecret.java new file mode 100644 index 00000000000..3b0cb67d189 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCApiSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCApiSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCApiSecret() { + } + + public AlertmanagerConfigSpecRWCApiSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCApiSecretBuilder edit() { + return new AlertmanagerConfigSpecRWCApiSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCApiSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials.java new file mode 100644 index 00000000000..6ec502ae70a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCACredentials implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCACredentials() { + } + + public AlertmanagerConfigSpecRWCHCACredentials(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentialsBuilder edit() { + return new AlertmanagerConfigSpecRWCHCACredentialsBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentialsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_1.java new file mode 100644 index 00000000000..0d3d21812ae --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCACredentials_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCACredentials_1() { + } + + public AlertmanagerConfigSpecRWCHCACredentials_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentials_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCACredentials_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentials_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_2.java new file mode 100644 index 00000000000..3c079dfeee3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCACredentials_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCACredentials_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCACredentials_2() { + } + + public AlertmanagerConfigSpecRWCHCACredentials_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentials_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCACredentials_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCACredentials_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization.java new file mode 100644 index 00000000000..aa1c6b72b39 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCAuthorization implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRWCHCACredentials credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCAuthorization() { + } + + public AlertmanagerConfigSpecRWCHCAuthorization(AlertmanagerConfigSpecRWCHCACredentials credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRWCHCACredentials getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRWCHCACredentials credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorizationBuilder edit() { + return new AlertmanagerConfigSpecRWCHCAuthorizationBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorizationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_1.java new file mode 100644 index 00000000000..a93ace2ea3b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCAuthorization_1 implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRWCHCACredentials_1 credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCAuthorization_1() { + } + + public AlertmanagerConfigSpecRWCHCAuthorization_1(AlertmanagerConfigSpecRWCHCACredentials_1 credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRWCHCACredentials_1 getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRWCHCACredentials_1 credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorization_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCAuthorization_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorization_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_2.java new file mode 100644 index 00000000000..773336a8bdc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCAuthorization_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "credentials", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCAuthorization_2 implements Editable , KubernetesResource +{ + + @JsonProperty("credentials") + private AlertmanagerConfigSpecRWCHCACredentials_2 credentials; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCAuthorization_2() { + } + + public AlertmanagerConfigSpecRWCHCAuthorization_2(AlertmanagerConfigSpecRWCHCACredentials_2 credentials, String type) { + super(); + this.credentials = credentials; + this.type = type; + } + + @JsonProperty("credentials") + public AlertmanagerConfigSpecRWCHCACredentials_2 getCredentials() { + return credentials; + } + + @JsonProperty("credentials") + public void setCredentials(AlertmanagerConfigSpecRWCHCACredentials_2 credentials) { + this.credentials = credentials; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorization_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCAuthorization_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCAuthorization_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth.java new file mode 100644 index 00000000000..3882fbbde89 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuth implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRWCHCBasicAuthPassword password; + @JsonProperty("username") + private AlertmanagerConfigSpecRWCHCBasicAuthUsername username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuth() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuth(AlertmanagerConfigSpecRWCHCBasicAuthPassword password, AlertmanagerConfigSpecRWCHCBasicAuthUsername username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRWCHCBasicAuthPassword getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRWCHCBasicAuthPassword password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRWCHCBasicAuthUsername getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRWCHCBasicAuthUsername username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthBuilder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword.java new file mode 100644 index 00000000000..bcc1e9c2e96 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthPassword implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthPassword() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthPassword(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPasswordBuilder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthPasswordBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPasswordBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_1.java new file mode 100644 index 00000000000..d3d74adb73c --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthPassword_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_1() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthPassword_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_2.java new file mode 100644 index 00000000000..664d7dd2004 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthPassword_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthPassword_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_2() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthPassword_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername.java new file mode 100644 index 00000000000..835e67796f0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthUsername implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthUsername() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthUsername(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsernameBuilder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthUsernameBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsernameBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_1.java new file mode 100644 index 00000000000..c370098f8fc --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthUsername_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_1() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthUsername_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_2.java new file mode 100644 index 00000000000..936bc16dcd0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuthUsername_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuthUsername_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_2() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuthUsername_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_1.java new file mode 100644 index 00000000000..0bae63ae8aa --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuth_1 implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRWCHCBasicAuthPassword_1 password; + @JsonProperty("username") + private AlertmanagerConfigSpecRWCHCBasicAuthUsername_1 username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuth_1() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuth_1(AlertmanagerConfigSpecRWCHCBasicAuthPassword_1 password, AlertmanagerConfigSpecRWCHCBasicAuthUsername_1 username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_1 getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRWCHCBasicAuthPassword_1 password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_1 getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRWCHCBasicAuthUsername_1 username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuth_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuth_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuth_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_2.java new file mode 100644 index 00000000000..292f0734a82 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBasicAuth_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "password", + "username" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBasicAuth_2 implements Editable , KubernetesResource +{ + + @JsonProperty("password") + private AlertmanagerConfigSpecRWCHCBasicAuthPassword_2 password; + @JsonProperty("username") + private AlertmanagerConfigSpecRWCHCBasicAuthUsername_2 username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBasicAuth_2() { + } + + public AlertmanagerConfigSpecRWCHCBasicAuth_2(AlertmanagerConfigSpecRWCHCBasicAuthPassword_2 password, AlertmanagerConfigSpecRWCHCBasicAuthUsername_2 username) { + super(); + this.password = password; + this.username = username; + } + + @JsonProperty("password") + public AlertmanagerConfigSpecRWCHCBasicAuthPassword_2 getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(AlertmanagerConfigSpecRWCHCBasicAuthPassword_2 password) { + this.password = password; + } + + @JsonProperty("username") + public AlertmanagerConfigSpecRWCHCBasicAuthUsername_2 getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(AlertmanagerConfigSpecRWCHCBasicAuthUsername_2 username) { + this.username = username; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuth_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCBasicAuth_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBasicAuth_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret.java new file mode 100644 index 00000000000..9e0bc53a4ba --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBearerTokenSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBearerTokenSecret() { + } + + public AlertmanagerConfigSpecRWCHCBearerTokenSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecretBuilder edit() { + return new AlertmanagerConfigSpecRWCHCBearerTokenSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_1.java new file mode 100644 index 00000000000..7395d7ffab6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBearerTokenSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_1() { + } + + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_1(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCBearerTokenSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_2.java new file mode 100644 index 00000000000..1370d6c5709 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCBearerTokenSecret_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCBearerTokenSecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_2() { + } + + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_2(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCBearerTokenSecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap.java new file mode 100644 index 00000000000..7a1dcf86934 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCIConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCIConfigMap() { + } + + public AlertmanagerConfigSpecRWCHCOCIConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRWCHCOCIConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_1.java new file mode 100644 index 00000000000..49152effd09 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCIConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCIConfigMap_1() { + } + + public AlertmanagerConfigSpecRWCHCOCIConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCOCIConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_2.java new file mode 100644 index 00000000000..1935a17a20a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCIConfigMap_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCIConfigMap_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCIConfigMap_2() { + } + + public AlertmanagerConfigSpecRWCHCOCIConfigMap_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMap_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOCIConfigMap_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCIConfigMap_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret.java new file mode 100644 index 00000000000..6dd2637318a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCISecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCISecret() { + } + + public AlertmanagerConfigSpecRWCHCOCISecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecretBuilder edit() { + return new AlertmanagerConfigSpecRWCHCOCISecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_1.java new file mode 100644 index 00000000000..696d4196732 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCISecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCISecret_1() { + } + + public AlertmanagerConfigSpecRWCHCOCISecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecret_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCOCISecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_2.java new file mode 100644 index 00000000000..4589bebeb97 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOCISecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOCISecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOCISecret_2() { + } + + public AlertmanagerConfigSpecRWCHCOCISecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecret_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOCISecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOCISecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId.java new file mode 100644 index 00000000000..0bdd2c72a93 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientId implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCOCIConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCOCISecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientId() { + } + + public AlertmanagerConfigSpecRWCHCOClientId(AlertmanagerConfigSpecRWCHCOCIConfigMap configMap, AlertmanagerConfigSpecRWCHCOCISecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCOCIConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCOCIConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCOCISecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCOCISecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientIdBuilder edit() { + return new AlertmanagerConfigSpecRWCHCOClientIdBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientIdBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_1.java new file mode 100644 index 00000000000..b3ed4c6e758 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientId_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCOCIConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCOCISecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientId_1() { + } + + public AlertmanagerConfigSpecRWCHCOClientId_1(AlertmanagerConfigSpecRWCHCOCIConfigMap_1 configMap, AlertmanagerConfigSpecRWCHCOCISecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCOCIConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCOCIConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCOCISecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCOCISecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientId_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCOClientId_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientId_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_2.java new file mode 100644 index 00000000000..7622489f85a --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientId_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientId_2 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCOCIConfigMap_2 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCOCISecret_2 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientId_2() { + } + + public AlertmanagerConfigSpecRWCHCOClientId_2(AlertmanagerConfigSpecRWCHCOCIConfigMap_2 configMap, AlertmanagerConfigSpecRWCHCOCISecret_2 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCOCIConfigMap_2 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCOCIConfigMap_2 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCOCISecret_2 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCOCISecret_2 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientId_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOClientId_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientId_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret.java new file mode 100644 index 00000000000..cb55cc453e8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientSecret() { + } + + public AlertmanagerConfigSpecRWCHCOClientSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecretBuilder edit() { + return new AlertmanagerConfigSpecRWCHCOClientSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_1.java new file mode 100644 index 00000000000..148289832c1 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientSecret_1() { + } + + public AlertmanagerConfigSpecRWCHCOClientSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecret_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCOClientSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_2.java new file mode 100644 index 00000000000..9e631748b32 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOClientSecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOClientSecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOClientSecret_2() { + } + + public AlertmanagerConfigSpecRWCHCOClientSecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecret_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOClientSecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOClientSecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2.java new file mode 100644 index 00000000000..8b54614a932 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOauth2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRWCHCOClientId clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRWCHCOClientSecret clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOauth2() { + } + + public AlertmanagerConfigSpecRWCHCOauth2(AlertmanagerConfigSpecRWCHCOClientId clientId, AlertmanagerConfigSpecRWCHCOClientSecret clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRWCHCOClientId getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRWCHCOClientId clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRWCHCOClientSecret getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRWCHCOClientSecret clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOauth2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_1.java new file mode 100644 index 00000000000..977f2c9b66b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_1.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOauth2_1 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRWCHCOClientId_1 clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRWCHCOClientSecret_1 clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOauth2_1() { + } + + public AlertmanagerConfigSpecRWCHCOauth2_1(AlertmanagerConfigSpecRWCHCOClientId_1 clientId, AlertmanagerConfigSpecRWCHCOClientSecret_1 clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRWCHCOClientId_1 getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRWCHCOClientId_1 clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRWCHCOClientSecret_1 getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRWCHCOClientSecret_1 clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCOauth2_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_2.java new file mode 100644 index 00000000000..47a1f1de9f8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCOauth2_2.java @@ -0,0 +1,170 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "clientId", + "clientSecret", + "endpointParams", + "scopes", + "tokenUrl" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCOauth2_2 implements Editable , KubernetesResource +{ + + @JsonProperty("clientId") + private AlertmanagerConfigSpecRWCHCOClientId_2 clientId; + @JsonProperty("clientSecret") + private AlertmanagerConfigSpecRWCHCOClientSecret_2 clientSecret; + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map endpointParams = new LinkedHashMap<>(); + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List scopes = new ArrayList<>(); + @JsonProperty("tokenUrl") + private String tokenUrl; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCOauth2_2() { + } + + public AlertmanagerConfigSpecRWCHCOauth2_2(AlertmanagerConfigSpecRWCHCOClientId_2 clientId, AlertmanagerConfigSpecRWCHCOClientSecret_2 clientSecret, Map endpointParams, List scopes, String tokenUrl) { + super(); + this.clientId = clientId; + this.clientSecret = clientSecret; + this.endpointParams = endpointParams; + this.scopes = scopes; + this.tokenUrl = tokenUrl; + } + + @JsonProperty("clientId") + public AlertmanagerConfigSpecRWCHCOClientId_2 getClientId() { + return clientId; + } + + @JsonProperty("clientId") + public void setClientId(AlertmanagerConfigSpecRWCHCOClientId_2 clientId) { + this.clientId = clientId; + } + + @JsonProperty("clientSecret") + public AlertmanagerConfigSpecRWCHCOClientSecret_2 getClientSecret() { + return clientSecret; + } + + @JsonProperty("clientSecret") + public void setClientSecret(AlertmanagerConfigSpecRWCHCOClientSecret_2 clientSecret) { + this.clientSecret = clientSecret; + } + + @JsonProperty("endpointParams") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getEndpointParams() { + return endpointParams; + } + + @JsonProperty("endpointParams") + public void setEndpointParams(Map endpointParams) { + this.endpointParams = endpointParams; + } + + @JsonProperty("scopes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getScopes() { + return scopes; + } + + @JsonProperty("scopes") + public void setScopes(List scopes) { + this.scopes = scopes; + } + + @JsonProperty("tokenUrl") + public String getTokenUrl() { + return tokenUrl; + } + + @JsonProperty("tokenUrl") + public void setTokenUrl(String tokenUrl) { + this.tokenUrl = tokenUrl; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCOauth2_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCOauth2_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap.java new file mode 100644 index 00000000000..0f083daa743 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMapBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMapBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMapBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_1.java new file mode 100644 index 00000000000..cededa91293 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap_1() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMap_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_2.java new file mode 100644 index 00000000000..8468454d605 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap_2() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMap_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_3.java new file mode 100644 index 00000000000..f173075605e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap_3() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_3Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMap_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_4.java new file mode 100644 index 00000000000..1f7d3d75785 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_4.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap_4 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap_4() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap_4(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_4Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMap_4Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_4Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_5.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_5.java new file mode 100644 index 00000000000..8d930123eac --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCConfigMap_5.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCConfigMap_5 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCConfigMap_5() { + } + + public AlertmanagerConfigSpecRWCHCTCCConfigMap_5(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_5Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCConfigMap_5Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCConfigMap_5Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret.java new file mode 100644 index 00000000000..dd9f264b353 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecretBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_1.java new file mode 100644 index 00000000000..f586674ace0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret_1() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_2.java new file mode 100644 index 00000000000..caa67a8afa8 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret_2() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_3.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_3.java new file mode 100644 index 00000000000..6814125fc2d --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_3.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret_3 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret_3() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret_3(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_3Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecret_3Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_3Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_4.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_4.java new file mode 100644 index 00000000000..917253212a0 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_4.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret_4 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret_4() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret_4(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_4Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecret_4Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_4Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_5.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_5.java new file mode 100644 index 00000000000..9d1a6514f0e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCSecret_5.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCSecret_5 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCSecret_5() { + } + + public AlertmanagerConfigSpecRWCHCTCCSecret_5(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_5Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCSecret_5Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCSecret_5Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa.java new file mode 100644 index 00000000000..c6d5b781084 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCa implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCa() { + } + + public AlertmanagerConfigSpecRWCHCTCCa(AlertmanagerConfigSpecRWCHCTCCConfigMap configMap, AlertmanagerConfigSpecRWCHCTCCSecret secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCaBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTCCaBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCaBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_1.java new file mode 100644 index 00000000000..32fa9f000d5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCa_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap_2 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret_2 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCa_1() { + } + + public AlertmanagerConfigSpecRWCHCTCCa_1(AlertmanagerConfigSpecRWCHCTCCConfigMap_2 configMap, AlertmanagerConfigSpecRWCHCTCCSecret_2 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap_2 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap_2 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret_2 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret_2 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCa_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCa_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCa_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_2.java new file mode 100644 index 00000000000..36c8620d85b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCa_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCa_2 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap_4 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret_4 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCa_2() { + } + + public AlertmanagerConfigSpecRWCHCTCCa_2(AlertmanagerConfigSpecRWCHCTCCConfigMap_4 configMap, AlertmanagerConfigSpecRWCHCTCCSecret_4 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap_4 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap_4 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret_4 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret_4 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCa_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCa_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCa_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert.java new file mode 100644 index 00000000000..b09183edea5 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCert implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap_1 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret_1 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCert() { + } + + public AlertmanagerConfigSpecRWCHCTCCert(AlertmanagerConfigSpecRWCHCTCCConfigMap_1 configMap, AlertmanagerConfigSpecRWCHCTCCSecret_1 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap_1 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap_1 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret_1 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret_1 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCertBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTCCertBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCertBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_1.java new file mode 100644 index 00000000000..57a56ce44e7 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_1.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCert_1 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap_3 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret_3 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCert_1() { + } + + public AlertmanagerConfigSpecRWCHCTCCert_1(AlertmanagerConfigSpecRWCHCTCCConfigMap_3 configMap, AlertmanagerConfigSpecRWCHCTCCSecret_3 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap_3 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap_3 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret_3 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret_3 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCert_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCert_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCert_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_2.java new file mode 100644 index 00000000000..cd54146e343 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCCert_2.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "configMap", + "secret" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCCert_2 implements Editable , KubernetesResource +{ + + @JsonProperty("configMap") + private AlertmanagerConfigSpecRWCHCTCCConfigMap_5 configMap; + @JsonProperty("secret") + private AlertmanagerConfigSpecRWCHCTCCSecret_5 secret; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCCert_2() { + } + + public AlertmanagerConfigSpecRWCHCTCCert_2(AlertmanagerConfigSpecRWCHCTCCConfigMap_5 configMap, AlertmanagerConfigSpecRWCHCTCCSecret_5 secret) { + super(); + this.configMap = configMap; + this.secret = secret; + } + + @JsonProperty("configMap") + public AlertmanagerConfigSpecRWCHCTCCConfigMap_5 getConfigMap() { + return configMap; + } + + @JsonProperty("configMap") + public void setConfigMap(AlertmanagerConfigSpecRWCHCTCCConfigMap_5 configMap) { + this.configMap = configMap; + } + + @JsonProperty("secret") + public AlertmanagerConfigSpecRWCHCTCCSecret_5 getSecret() { + return secret; + } + + @JsonProperty("secret") + public void setSecret(AlertmanagerConfigSpecRWCHCTCCSecret_5 secret) { + this.secret = secret; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCert_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCCert_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCCert_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret.java new file mode 100644 index 00000000000..d7aec81556b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCKeySecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCKeySecret() { + } + + public AlertmanagerConfigSpecRWCHCTCKeySecret(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecretBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTCKeySecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_1.java new file mode 100644 index 00000000000..b22ed53b499 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_1.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCKeySecret_1 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCKeySecret_1() { + } + + public AlertmanagerConfigSpecRWCHCTCKeySecret_1(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecret_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCKeySecret_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecret_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_2.java new file mode 100644 index 00000000000..4adb4eb184e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTCKeySecret_2.java @@ -0,0 +1,136 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name", + "optional" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTCKeySecret_2 implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTCKeySecret_2() { + } + + public AlertmanagerConfigSpecRWCHCTCKeySecret_2(String key, String name, Boolean optional) { + super(); + this.key = key; + this.name = name; + this.optional = optional; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecret_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTCKeySecret_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTCKeySecret_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig.java new file mode 100644 index 00000000000..b1d6d4e1e8b --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTlsConfig implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRWCHCTCCa ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRWCHCTCCert cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRWCHCTCKeySecret keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTlsConfig() { + } + + public AlertmanagerConfigSpecRWCHCTlsConfig(AlertmanagerConfigSpecRWCHCTCCa ca, AlertmanagerConfigSpecRWCHCTCCert cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRWCHCTCKeySecret keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRWCHCTCCa getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRWCHCTCCa ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRWCHCTCCert getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRWCHCTCCert cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRWCHCTCKeySecret getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRWCHCTCKeySecret keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfigBuilder edit() { + return new AlertmanagerConfigSpecRWCHCTlsConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_1.java new file mode 100644 index 00000000000..9e3064fe2a3 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_1.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTlsConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRWCHCTCCa_1 ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRWCHCTCCert_1 cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRWCHCTCKeySecret_1 keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTlsConfig_1() { + } + + public AlertmanagerConfigSpecRWCHCTlsConfig_1(AlertmanagerConfigSpecRWCHCTCCa_1 ca, AlertmanagerConfigSpecRWCHCTCCert_1 cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRWCHCTCKeySecret_1 keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRWCHCTCCa_1 getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRWCHCTCCa_1 ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRWCHCTCCert_1 getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRWCHCTCCert_1 cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRWCHCTCKeySecret_1 getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRWCHCTCKeySecret_1 keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfig_1Builder edit() { + return new AlertmanagerConfigSpecRWCHCTlsConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_2.java new file mode 100644 index 00000000000..ccf82208791 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHCTlsConfig_2.java @@ -0,0 +1,164 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "ca", + "cert", + "insecureSkipVerify", + "keySecret", + "serverName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHCTlsConfig_2 implements Editable , KubernetesResource +{ + + @JsonProperty("ca") + private AlertmanagerConfigSpecRWCHCTCCa_2 ca; + @JsonProperty("cert") + private AlertmanagerConfigSpecRWCHCTCCert_2 cert; + @JsonProperty("insecureSkipVerify") + private Boolean insecureSkipVerify; + @JsonProperty("keySecret") + private AlertmanagerConfigSpecRWCHCTCKeySecret_2 keySecret; + @JsonProperty("serverName") + private String serverName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHCTlsConfig_2() { + } + + public AlertmanagerConfigSpecRWCHCTlsConfig_2(AlertmanagerConfigSpecRWCHCTCCa_2 ca, AlertmanagerConfigSpecRWCHCTCCert_2 cert, Boolean insecureSkipVerify, AlertmanagerConfigSpecRWCHCTCKeySecret_2 keySecret, String serverName) { + super(); + this.ca = ca; + this.cert = cert; + this.insecureSkipVerify = insecureSkipVerify; + this.keySecret = keySecret; + this.serverName = serverName; + } + + @JsonProperty("ca") + public AlertmanagerConfigSpecRWCHCTCCa_2 getCa() { + return ca; + } + + @JsonProperty("ca") + public void setCa(AlertmanagerConfigSpecRWCHCTCCa_2 ca) { + this.ca = ca; + } + + @JsonProperty("cert") + public AlertmanagerConfigSpecRWCHCTCCert_2 getCert() { + return cert; + } + + @JsonProperty("cert") + public void setCert(AlertmanagerConfigSpecRWCHCTCCert_2 cert) { + this.cert = cert; + } + + @JsonProperty("insecureSkipVerify") + public Boolean getInsecureSkipVerify() { + return insecureSkipVerify; + } + + @JsonProperty("insecureSkipVerify") + public void setInsecureSkipVerify(Boolean insecureSkipVerify) { + this.insecureSkipVerify = insecureSkipVerify; + } + + @JsonProperty("keySecret") + public AlertmanagerConfigSpecRWCHCTCKeySecret_2 getKeySecret() { + return keySecret; + } + + @JsonProperty("keySecret") + public void setKeySecret(AlertmanagerConfigSpecRWCHCTCKeySecret_2 keySecret) { + this.keySecret = keySecret; + } + + @JsonProperty("serverName") + public String getServerName() { + return serverName; + } + + @JsonProperty("serverName") + public void setServerName(String serverName) { + this.serverName = serverName; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfig_2Builder edit() { + return new AlertmanagerConfigSpecRWCHCTlsConfig_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHCTlsConfig_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig.java new file mode 100644 index 00000000000..14c2f028ac6 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHttpConfig implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRWCHCAuthorization authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRWCHCBasicAuth basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRWCHCBearerTokenSecret bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRWCHCOauth2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRWCHCTlsConfig tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHttpConfig() { + } + + public AlertmanagerConfigSpecRWCHttpConfig(AlertmanagerConfigSpecRWCHCAuthorization authorization, AlertmanagerConfigSpecRWCHCBasicAuth basicAuth, AlertmanagerConfigSpecRWCHCBearerTokenSecret bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRWCHCOauth2 oauth2, String proxyURL, AlertmanagerConfigSpecRWCHCTlsConfig tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRWCHCAuthorization getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRWCHCAuthorization authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRWCHCBasicAuth getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRWCHCBasicAuth basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRWCHCBearerTokenSecret getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRWCHCBearerTokenSecret bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRWCHCOauth2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRWCHCOauth2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRWCHCTlsConfig getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRWCHCTlsConfig tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfigBuilder edit() { + return new AlertmanagerConfigSpecRWCHttpConfigBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfigBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_1.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_1.java new file mode 100644 index 00000000000..f71d3cb5d4e --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_1.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHttpConfig_1 implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRWCHCAuthorization_1 authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRWCHCBasicAuth_1 basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRWCHCBearerTokenSecret_1 bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRWCHCOauth2_1 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRWCHCTlsConfig_1 tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHttpConfig_1() { + } + + public AlertmanagerConfigSpecRWCHttpConfig_1(AlertmanagerConfigSpecRWCHCAuthorization_1 authorization, AlertmanagerConfigSpecRWCHCBasicAuth_1 basicAuth, AlertmanagerConfigSpecRWCHCBearerTokenSecret_1 bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRWCHCOauth2_1 oauth2, String proxyURL, AlertmanagerConfigSpecRWCHCTlsConfig_1 tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRWCHCAuthorization_1 getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRWCHCAuthorization_1 authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRWCHCBasicAuth_1 getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRWCHCBasicAuth_1 basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_1 getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRWCHCBearerTokenSecret_1 bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRWCHCOauth2_1 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRWCHCOauth2_1 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRWCHCTlsConfig_1 getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRWCHCTlsConfig_1 tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfig_1Builder edit() { + return new AlertmanagerConfigSpecRWCHttpConfig_1Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfig_1Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_2.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_2.java new file mode 100644 index 00000000000..d6a30837110 --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCHttpConfig_2.java @@ -0,0 +1,192 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "authorization", + "basicAuth", + "bearerTokenSecret", + "followRedirects", + "oauth2", + "proxyURL", + "tlsConfig" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCHttpConfig_2 implements Editable , KubernetesResource +{ + + @JsonProperty("authorization") + private AlertmanagerConfigSpecRWCHCAuthorization_2 authorization; + @JsonProperty("basicAuth") + private AlertmanagerConfigSpecRWCHCBasicAuth_2 basicAuth; + @JsonProperty("bearerTokenSecret") + private AlertmanagerConfigSpecRWCHCBearerTokenSecret_2 bearerTokenSecret; + @JsonProperty("followRedirects") + private Boolean followRedirects; + @JsonProperty("oauth2") + private AlertmanagerConfigSpecRWCHCOauth2_2 oauth2; + @JsonProperty("proxyURL") + private String proxyURL; + @JsonProperty("tlsConfig") + private AlertmanagerConfigSpecRWCHCTlsConfig_2 tlsConfig; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCHttpConfig_2() { + } + + public AlertmanagerConfigSpecRWCHttpConfig_2(AlertmanagerConfigSpecRWCHCAuthorization_2 authorization, AlertmanagerConfigSpecRWCHCBasicAuth_2 basicAuth, AlertmanagerConfigSpecRWCHCBearerTokenSecret_2 bearerTokenSecret, Boolean followRedirects, AlertmanagerConfigSpecRWCHCOauth2_2 oauth2, String proxyURL, AlertmanagerConfigSpecRWCHCTlsConfig_2 tlsConfig) { + super(); + this.authorization = authorization; + this.basicAuth = basicAuth; + this.bearerTokenSecret = bearerTokenSecret; + this.followRedirects = followRedirects; + this.oauth2 = oauth2; + this.proxyURL = proxyURL; + this.tlsConfig = tlsConfig; + } + + @JsonProperty("authorization") + public AlertmanagerConfigSpecRWCHCAuthorization_2 getAuthorization() { + return authorization; + } + + @JsonProperty("authorization") + public void setAuthorization(AlertmanagerConfigSpecRWCHCAuthorization_2 authorization) { + this.authorization = authorization; + } + + @JsonProperty("basicAuth") + public AlertmanagerConfigSpecRWCHCBasicAuth_2 getBasicAuth() { + return basicAuth; + } + + @JsonProperty("basicAuth") + public void setBasicAuth(AlertmanagerConfigSpecRWCHCBasicAuth_2 basicAuth) { + this.basicAuth = basicAuth; + } + + @JsonProperty("bearerTokenSecret") + public AlertmanagerConfigSpecRWCHCBearerTokenSecret_2 getBearerTokenSecret() { + return bearerTokenSecret; + } + + @JsonProperty("bearerTokenSecret") + public void setBearerTokenSecret(AlertmanagerConfigSpecRWCHCBearerTokenSecret_2 bearerTokenSecret) { + this.bearerTokenSecret = bearerTokenSecret; + } + + @JsonProperty("followRedirects") + public Boolean getFollowRedirects() { + return followRedirects; + } + + @JsonProperty("followRedirects") + public void setFollowRedirects(Boolean followRedirects) { + this.followRedirects = followRedirects; + } + + @JsonProperty("oauth2") + public AlertmanagerConfigSpecRWCHCOauth2_2 getOauth2() { + return oauth2; + } + + @JsonProperty("oauth2") + public void setOauth2(AlertmanagerConfigSpecRWCHCOauth2_2 oauth2) { + this.oauth2 = oauth2; + } + + @JsonProperty("proxyURL") + public String getProxyURL() { + return proxyURL; + } + + @JsonProperty("proxyURL") + public void setProxyURL(String proxyURL) { + this.proxyURL = proxyURL; + } + + @JsonProperty("tlsConfig") + public AlertmanagerConfigSpecRWCHCTlsConfig_2 getTlsConfig() { + return tlsConfig; + } + + @JsonProperty("tlsConfig") + public void setTlsConfig(AlertmanagerConfigSpecRWCHCTlsConfig_2 tlsConfig) { + this.tlsConfig = tlsConfig; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfig_2Builder edit() { + return new AlertmanagerConfigSpecRWCHttpConfig_2Builder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCHttpConfig_2Builder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCUrlSecret.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCUrlSecret.java new file mode 100644 index 00000000000..2ca0b547d6f --- /dev/null +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWCUrlSecret.java @@ -0,0 +1,122 @@ + +package io.fabric8.openshift.api.model.monitoring.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "key", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AlertmanagerConfigSpecRWCUrlSecret implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AlertmanagerConfigSpecRWCUrlSecret() { + } + + public AlertmanagerConfigSpecRWCUrlSecret(String key, String name) { + super(); + this.key = key; + this.name = name; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCUrlSecretBuilder edit() { + return new AlertmanagerConfigSpecRWCUrlSecretBuilder(this); + } + + @JsonIgnore + public AlertmanagerConfigSpecRWCUrlSecretBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebexConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebexConfigs.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebexConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebexConfigs.java index 0fc7416c724..c5b1386beb5 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebexConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebexConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -55,13 +55,13 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebexConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRWebexConfigs implements Editable , KubernetesResource { @JsonProperty("apiURL") private String apiURL; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRWCHttpConfig httpConfig; @JsonProperty("message") private String message; @JsonProperty("roomID") @@ -75,10 +75,10 @@ public class WebexConfig implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public WebexConfig() { + public AlertmanagerConfigSpecRWebexConfigs() { } - public WebexConfig(String apiURL, HTTPConfig httpConfig, String message, String roomID, Boolean sendResolved) { + public AlertmanagerConfigSpecRWebexConfigs(String apiURL, AlertmanagerConfigSpecRWCHttpConfig httpConfig, String message, String roomID, Boolean sendResolved) { super(); this.apiURL = apiURL; this.httpConfig = httpConfig; @@ -98,12 +98,12 @@ public void setApiURL(String apiURL) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRWCHttpConfig getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRWCHttpConfig httpConfig) { this.httpConfig = httpConfig; } @@ -138,12 +138,12 @@ public void setSendResolved(Boolean sendResolved) { } @JsonIgnore - public WebexConfigBuilder edit() { - return new WebexConfigBuilder(this); + public AlertmanagerConfigSpecRWebexConfigsBuilder edit() { + return new AlertmanagerConfigSpecRWebexConfigsBuilder(this); } @JsonIgnore - public WebexConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRWebexConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebhookConfigs.java similarity index 80% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebhookConfigs.java index 349d00f2180..5beb47b5f66 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WebhookConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWebhookConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +55,11 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WebhookConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRWebhookConfigs implements Editable , KubernetesResource { @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRWCHttpConfig_1 httpConfig; @JsonProperty("maxAlerts") private Integer maxAlerts; @JsonProperty("sendResolved") @@ -68,7 +67,7 @@ public class WebhookConfig implements Editable , Kubernete @JsonProperty("url") private String url; @JsonProperty("urlSecret") - private SecretKeySelector urlSecret; + private AlertmanagerConfigSpecRWCUrlSecret urlSecret; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -76,10 +75,10 @@ public class WebhookConfig implements Editable , Kubernete * No args constructor for use in serialization * */ - public WebhookConfig() { + public AlertmanagerConfigSpecRWebhookConfigs() { } - public WebhookConfig(HTTPConfig httpConfig, Integer maxAlerts, Boolean sendResolved, String url, SecretKeySelector urlSecret) { + public AlertmanagerConfigSpecRWebhookConfigs(AlertmanagerConfigSpecRWCHttpConfig_1 httpConfig, Integer maxAlerts, Boolean sendResolved, String url, AlertmanagerConfigSpecRWCUrlSecret urlSecret) { super(); this.httpConfig = httpConfig; this.maxAlerts = maxAlerts; @@ -89,12 +88,12 @@ public WebhookConfig(HTTPConfig httpConfig, Integer maxAlerts, Boolean sendResol } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRWCHttpConfig_1 getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRWCHttpConfig_1 httpConfig) { this.httpConfig = httpConfig; } @@ -129,22 +128,22 @@ public void setUrl(String url) { } @JsonProperty("urlSecret") - public SecretKeySelector getUrlSecret() { + public AlertmanagerConfigSpecRWCUrlSecret getUrlSecret() { return urlSecret; } @JsonProperty("urlSecret") - public void setUrlSecret(SecretKeySelector urlSecret) { + public void setUrlSecret(AlertmanagerConfigSpecRWCUrlSecret urlSecret) { this.urlSecret = urlSecret; } @JsonIgnore - public WebhookConfigBuilder edit() { - return new WebhookConfigBuilder(this); + public AlertmanagerConfigSpecRWebhookConfigsBuilder edit() { + return new AlertmanagerConfigSpecRWebhookConfigsBuilder(this); } @JsonIgnore - public WebhookConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRWebhookConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWechatConfigs.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWechatConfigs.java index 4a3e9266c57..3f0e1fecc15 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/WeChatConfig.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRWechatConfigs.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -22,7 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretKeySelector; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,19 +61,19 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class WeChatConfig implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRWechatConfigs implements Editable , KubernetesResource { @JsonProperty("agentID") private String agentID; @JsonProperty("apiSecret") - private SecretKeySelector apiSecret; + private AlertmanagerConfigSpecRWCApiSecret apiSecret; @JsonProperty("apiURL") private String apiURL; @JsonProperty("corpID") private String corpID; @JsonProperty("httpConfig") - private HTTPConfig httpConfig; + private AlertmanagerConfigSpecRWCHttpConfig_2 httpConfig; @JsonProperty("message") private String message; @JsonProperty("messageType") @@ -94,10 +93,10 @@ public class WeChatConfig implements Editable , KubernetesR * No args constructor for use in serialization * */ - public WeChatConfig() { + public AlertmanagerConfigSpecRWechatConfigs() { } - public WeChatConfig(String agentID, SecretKeySelector apiSecret, String apiURL, String corpID, HTTPConfig httpConfig, String message, String messageType, Boolean sendResolved, String toParty, String toTag, String toUser) { + public AlertmanagerConfigSpecRWechatConfigs(String agentID, AlertmanagerConfigSpecRWCApiSecret apiSecret, String apiURL, String corpID, AlertmanagerConfigSpecRWCHttpConfig_2 httpConfig, String message, String messageType, Boolean sendResolved, String toParty, String toTag, String toUser) { super(); this.agentID = agentID; this.apiSecret = apiSecret; @@ -123,12 +122,12 @@ public void setAgentID(String agentID) { } @JsonProperty("apiSecret") - public SecretKeySelector getApiSecret() { + public AlertmanagerConfigSpecRWCApiSecret getApiSecret() { return apiSecret; } @JsonProperty("apiSecret") - public void setApiSecret(SecretKeySelector apiSecret) { + public void setApiSecret(AlertmanagerConfigSpecRWCApiSecret apiSecret) { this.apiSecret = apiSecret; } @@ -153,12 +152,12 @@ public void setCorpID(String corpID) { } @JsonProperty("httpConfig") - public HTTPConfig getHttpConfig() { + public AlertmanagerConfigSpecRWCHttpConfig_2 getHttpConfig() { return httpConfig; } @JsonProperty("httpConfig") - public void setHttpConfig(HTTPConfig httpConfig) { + public void setHttpConfig(AlertmanagerConfigSpecRWCHttpConfig_2 httpConfig) { this.httpConfig = httpConfig; } @@ -223,12 +222,12 @@ public void setToUser(String toUser) { } @JsonIgnore - public WeChatConfigBuilder edit() { - return new WeChatConfigBuilder(this); + public AlertmanagerConfigSpecRWechatConfigsBuilder edit() { + return new AlertmanagerConfigSpecRWechatConfigsBuilder(this); } @JsonIgnore - public WeChatConfigBuilder toBuilder() { + public AlertmanagerConfigSpecRWechatConfigsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecReceivers.java similarity index 59% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecReceivers.java index 573231a60bd..6eb46dc211f 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Receiver.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecReceivers.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -35,6 +35,7 @@ @JsonPropertyOrder({ "discordConfigs", "emailConfigs", + "msteamsConfigs", "name", "opsgenieConfigs", "pagerdutyConfigs", @@ -65,47 +66,50 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Receiver implements Editable , KubernetesResource +public class AlertmanagerConfigSpecReceivers implements Editable , KubernetesResource { @JsonProperty("discordConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List discordConfigs = new ArrayList<>(); + private List discordConfigs = new ArrayList<>(); @JsonProperty("emailConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List emailConfigs = new ArrayList<>(); + private List emailConfigs = new ArrayList<>(); + @JsonProperty("msteamsConfigs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List msteamsConfigs = new ArrayList<>(); @JsonProperty("name") private String name; @JsonProperty("opsgenieConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List opsgenieConfigs = new ArrayList<>(); + private List opsgenieConfigs = new ArrayList<>(); @JsonProperty("pagerdutyConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List pagerdutyConfigs = new ArrayList<>(); + private List pagerdutyConfigs = new ArrayList<>(); @JsonProperty("pushoverConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List pushoverConfigs = new ArrayList<>(); + private List pushoverConfigs = new ArrayList<>(); @JsonProperty("slackConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List slackConfigs = new ArrayList<>(); + private List slackConfigs = new ArrayList<>(); @JsonProperty("snsConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List snsConfigs = new ArrayList<>(); + private List snsConfigs = new ArrayList<>(); @JsonProperty("telegramConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List telegramConfigs = new ArrayList<>(); + private List telegramConfigs = new ArrayList<>(); @JsonProperty("victoropsConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List victoropsConfigs = new ArrayList<>(); + private List victoropsConfigs = new ArrayList<>(); @JsonProperty("webexConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List webexConfigs = new ArrayList<>(); + private List webexConfigs = new ArrayList<>(); @JsonProperty("webhookConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List webhookConfigs = new ArrayList<>(); + private List webhookConfigs = new ArrayList<>(); @JsonProperty("wechatConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List wechatConfigs = new ArrayList<>(); + private List wechatConfigs = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -113,13 +117,14 @@ public class Receiver implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Receiver() { + public AlertmanagerConfigSpecReceivers() { } - public Receiver(List discordConfigs, List emailConfigs, String name, List opsgenieConfigs, List pagerdutyConfigs, List pushoverConfigs, List slackConfigs, List snsConfigs, List telegramConfigs, List victoropsConfigs, List webexConfigs, List webhookConfigs, List wechatConfigs) { + public AlertmanagerConfigSpecReceivers(List discordConfigs, List emailConfigs, List msteamsConfigs, String name, List opsgenieConfigs, List pagerdutyConfigs, List pushoverConfigs, List slackConfigs, List snsConfigs, List telegramConfigs, List victoropsConfigs, List webexConfigs, List webhookConfigs, List wechatConfigs) { super(); this.discordConfigs = discordConfigs; this.emailConfigs = emailConfigs; + this.msteamsConfigs = msteamsConfigs; this.name = name; this.opsgenieConfigs = opsgenieConfigs; this.pagerdutyConfigs = pagerdutyConfigs; @@ -135,26 +140,37 @@ public Receiver(List discordConfigs, List emailConfi @JsonProperty("discordConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDiscordConfigs() { + public List getDiscordConfigs() { return discordConfigs; } @JsonProperty("discordConfigs") - public void setDiscordConfigs(List discordConfigs) { + public void setDiscordConfigs(List discordConfigs) { this.discordConfigs = discordConfigs; } @JsonProperty("emailConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEmailConfigs() { + public List getEmailConfigs() { return emailConfigs; } @JsonProperty("emailConfigs") - public void setEmailConfigs(List emailConfigs) { + public void setEmailConfigs(List emailConfigs) { this.emailConfigs = emailConfigs; } + @JsonProperty("msteamsConfigs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMsteamsConfigs() { + return msteamsConfigs; + } + + @JsonProperty("msteamsConfigs") + public void setMsteamsConfigs(List msteamsConfigs) { + this.msteamsConfigs = msteamsConfigs; + } + @JsonProperty("name") public String getName() { return name; @@ -167,121 +183,121 @@ public void setName(String name) { @JsonProperty("opsgenieConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getOpsgenieConfigs() { + public List getOpsgenieConfigs() { return opsgenieConfigs; } @JsonProperty("opsgenieConfigs") - public void setOpsgenieConfigs(List opsgenieConfigs) { + public void setOpsgenieConfigs(List opsgenieConfigs) { this.opsgenieConfigs = opsgenieConfigs; } @JsonProperty("pagerdutyConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPagerdutyConfigs() { + public List getPagerdutyConfigs() { return pagerdutyConfigs; } @JsonProperty("pagerdutyConfigs") - public void setPagerdutyConfigs(List pagerdutyConfigs) { + public void setPagerdutyConfigs(List pagerdutyConfigs) { this.pagerdutyConfigs = pagerdutyConfigs; } @JsonProperty("pushoverConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPushoverConfigs() { + public List getPushoverConfigs() { return pushoverConfigs; } @JsonProperty("pushoverConfigs") - public void setPushoverConfigs(List pushoverConfigs) { + public void setPushoverConfigs(List pushoverConfigs) { this.pushoverConfigs = pushoverConfigs; } @JsonProperty("slackConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSlackConfigs() { + public List getSlackConfigs() { return slackConfigs; } @JsonProperty("slackConfigs") - public void setSlackConfigs(List slackConfigs) { + public void setSlackConfigs(List slackConfigs) { this.slackConfigs = slackConfigs; } @JsonProperty("snsConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSnsConfigs() { + public List getSnsConfigs() { return snsConfigs; } @JsonProperty("snsConfigs") - public void setSnsConfigs(List snsConfigs) { + public void setSnsConfigs(List snsConfigs) { this.snsConfigs = snsConfigs; } @JsonProperty("telegramConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTelegramConfigs() { + public List getTelegramConfigs() { return telegramConfigs; } @JsonProperty("telegramConfigs") - public void setTelegramConfigs(List telegramConfigs) { + public void setTelegramConfigs(List telegramConfigs) { this.telegramConfigs = telegramConfigs; } @JsonProperty("victoropsConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVictoropsConfigs() { + public List getVictoropsConfigs() { return victoropsConfigs; } @JsonProperty("victoropsConfigs") - public void setVictoropsConfigs(List victoropsConfigs) { + public void setVictoropsConfigs(List victoropsConfigs) { this.victoropsConfigs = victoropsConfigs; } @JsonProperty("webexConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getWebexConfigs() { + public List getWebexConfigs() { return webexConfigs; } @JsonProperty("webexConfigs") - public void setWebexConfigs(List webexConfigs) { + public void setWebexConfigs(List webexConfigs) { this.webexConfigs = webexConfigs; } @JsonProperty("webhookConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getWebhookConfigs() { + public List getWebhookConfigs() { return webhookConfigs; } @JsonProperty("webhookConfigs") - public void setWebhookConfigs(List webhookConfigs) { + public void setWebhookConfigs(List webhookConfigs) { this.webhookConfigs = webhookConfigs; } @JsonProperty("wechatConfigs") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getWechatConfigs() { + public List getWechatConfigs() { return wechatConfigs; } @JsonProperty("wechatConfigs") - public void setWechatConfigs(List wechatConfigs) { + public void setWechatConfigs(List wechatConfigs) { this.wechatConfigs = wechatConfigs; } @JsonIgnore - public ReceiverBuilder edit() { - return new ReceiverBuilder(this); + public AlertmanagerConfigSpecReceiversBuilder edit() { + return new AlertmanagerConfigSpecReceiversBuilder(this); } @JsonIgnore - public ReceiverBuilder toBuilder() { + public AlertmanagerConfigSpecReceiversBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRoute.java similarity index 84% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRoute.java index c510629a23f..02cda448f69 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/Route.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecRoute.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -12,7 +12,6 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; @@ -63,7 +62,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class Route implements Editable , KubernetesResource +public class AlertmanagerConfigSpecRoute implements Editable , KubernetesResource { @JsonProperty("activeTimeIntervals") @@ -80,7 +79,7 @@ public class Route implements Editable , KubernetesResource private String groupWait; @JsonProperty("matchers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List matchers = new ArrayList<>(); + private List matchers = new ArrayList<>(); @JsonProperty("muteTimeIntervals") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List muteTimeIntervals = new ArrayList<>(); @@ -89,8 +88,9 @@ public class Route implements Editable , KubernetesResource @JsonProperty("repeatInterval") private String repeatInterval; @JsonProperty("routes") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForList.class) @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List routes = new ArrayList<>(); + private List routes = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -98,10 +98,10 @@ public class Route implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Route() { + public AlertmanagerConfigSpecRoute() { } - public Route(List activeTimeIntervals, Boolean _continue, List groupBy, String groupInterval, String groupWait, List matchers, List muteTimeIntervals, String receiver, String repeatInterval, List routes) { + public AlertmanagerConfigSpecRoute(List activeTimeIntervals, Boolean _continue, List groupBy, String groupInterval, String groupWait, List matchers, List muteTimeIntervals, String receiver, String repeatInterval, List routes) { super(); this.activeTimeIntervals = activeTimeIntervals; this._continue = _continue; @@ -169,12 +169,12 @@ public void setGroupWait(String groupWait) { @JsonProperty("matchers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMatchers() { + public List getMatchers() { return matchers; } @JsonProperty("matchers") - public void setMatchers(List matchers) { + public void setMatchers(List matchers) { this.matchers = matchers; } @@ -211,22 +211,23 @@ public void setRepeatInterval(String repeatInterval) { @JsonProperty("routes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRoutes() { + public List getRoutes() { return routes; } @JsonProperty("routes") - public void setRoutes(List routes) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForList.class) + public void setRoutes(List routes) { this.routes = routes; } @JsonIgnore - public RouteBuilder edit() { - return new RouteBuilder(this); + public AlertmanagerConfigSpecRouteBuilder edit() { + return new AlertmanagerConfigSpecRouteBuilder(this); } @JsonIgnore - public RouteBuilder toBuilder() { + public AlertmanagerConfigSpecRouteBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITIDaysOfMonth.java similarity index 86% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITIDaysOfMonth.java index 66317ed5e90..6977ae035cd 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/DayOfMonthRange.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITIDaysOfMonth.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class DayOfMonthRange implements Editable , KubernetesResource +public class AlertmanagerConfigSpecTITIDaysOfMonth implements Editable , KubernetesResource { @JsonProperty("end") @@ -66,10 +66,10 @@ public class DayOfMonthRange implements Editable , Kuber * No args constructor for use in serialization * */ - public DayOfMonthRange() { + public AlertmanagerConfigSpecTITIDaysOfMonth() { } - public DayOfMonthRange(Integer end, Integer start) { + public AlertmanagerConfigSpecTITIDaysOfMonth(Integer end, Integer start) { super(); this.end = end; this.start = start; @@ -96,12 +96,12 @@ public void setStart(Integer start) { } @JsonIgnore - public DayOfMonthRangeBuilder edit() { - return new DayOfMonthRangeBuilder(this); + public AlertmanagerConfigSpecTITIDaysOfMonthBuilder edit() { + return new AlertmanagerConfigSpecTITIDaysOfMonthBuilder(this); } @JsonIgnore - public DayOfMonthRangeBuilder toBuilder() { + public AlertmanagerConfigSpecTITIDaysOfMonthBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITITimes.java similarity index 87% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITITimes.java index 83376e220f5..cc8a4f1c2a3 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeRange.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITITimes.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -52,7 +52,7 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TimeRange implements Editable , KubernetesResource +public class AlertmanagerConfigSpecTITITimes implements Editable , KubernetesResource { @JsonProperty("endTime") @@ -66,10 +66,10 @@ public class TimeRange implements Editable , KubernetesResourc * No args constructor for use in serialization * */ - public TimeRange() { + public AlertmanagerConfigSpecTITITimes() { } - public TimeRange(String endTime, String startTime) { + public AlertmanagerConfigSpecTITITimes(String endTime, String startTime) { super(); this.endTime = endTime; this.startTime = startTime; @@ -96,12 +96,12 @@ public void setStartTime(String startTime) { } @JsonIgnore - public TimeRangeBuilder edit() { - return new TimeRangeBuilder(this); + public AlertmanagerConfigSpecTITITimesBuilder edit() { + return new AlertmanagerConfigSpecTITITimesBuilder(this); } @JsonIgnore - public TimeRangeBuilder toBuilder() { + public AlertmanagerConfigSpecTITITimesBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITimeIntervals.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITimeIntervals.java index 927c75c995c..0db5fcc90b8 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/TimeInterval.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTITimeIntervals.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -57,18 +57,18 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class TimeInterval implements Editable , KubernetesResource +public class AlertmanagerConfigSpecTITimeIntervals implements Editable , KubernetesResource { @JsonProperty("daysOfMonth") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List daysOfMonth = new ArrayList<>(); + private List daysOfMonth = new ArrayList<>(); @JsonProperty("months") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List months = new ArrayList<>(); @JsonProperty("times") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List times = new ArrayList<>(); + private List times = new ArrayList<>(); @JsonProperty("weekdays") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List weekdays = new ArrayList<>(); @@ -82,10 +82,10 @@ public class TimeInterval implements Editable , KubernetesR * No args constructor for use in serialization * */ - public TimeInterval() { + public AlertmanagerConfigSpecTITimeIntervals() { } - public TimeInterval(List daysOfMonth, List months, List times, List weekdays, List years) { + public AlertmanagerConfigSpecTITimeIntervals(List daysOfMonth, List months, List times, List weekdays, List years) { super(); this.daysOfMonth = daysOfMonth; this.months = months; @@ -96,12 +96,12 @@ public TimeInterval(List daysOfMonth, List months, List @JsonProperty("daysOfMonth") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDaysOfMonth() { + public List getDaysOfMonth() { return daysOfMonth; } @JsonProperty("daysOfMonth") - public void setDaysOfMonth(List daysOfMonth) { + public void setDaysOfMonth(List daysOfMonth) { this.daysOfMonth = daysOfMonth; } @@ -118,12 +118,12 @@ public void setMonths(List months) { @JsonProperty("times") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTimes() { + public List getTimes() { return times; } @JsonProperty("times") - public void setTimes(List times) { + public void setTimes(List times) { this.times = times; } @@ -150,12 +150,12 @@ public void setYears(List years) { } @JsonIgnore - public TimeIntervalBuilder edit() { - return new TimeIntervalBuilder(this); + public AlertmanagerConfigSpecTITimeIntervalsBuilder edit() { + return new AlertmanagerConfigSpecTITimeIntervalsBuilder(this); } @JsonIgnore - public TimeIntervalBuilder toBuilder() { + public AlertmanagerConfigSpecTITimeIntervalsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTimeIntervals.java similarity index 81% rename from kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java rename to kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTimeIntervals.java index 7624cb2039c..0d32d261c59 100644 --- a/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1alpha1/MuteTimeInterval.java +++ b/kubernetes-model-generator/openshift-model-monitoring/src/generated/java/io/fabric8/openshift/api/model/monitoring/v1beta1/AlertmanagerConfigSpecTimeIntervals.java @@ -1,5 +1,5 @@ -package io.fabric8.openshift.api.model.monitoring.v1alpha1; +package io.fabric8.openshift.api.model.monitoring.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -54,14 +54,14 @@ @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") -public class MuteTimeInterval implements Editable , KubernetesResource +public class AlertmanagerConfigSpecTimeIntervals implements Editable , KubernetesResource { @JsonProperty("name") private String name; @JsonProperty("timeIntervals") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List timeIntervals = new ArrayList<>(); + private List timeIntervals = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -69,10 +69,10 @@ public class MuteTimeInterval implements Editable , Kub * No args constructor for use in serialization * */ - public MuteTimeInterval() { + public AlertmanagerConfigSpecTimeIntervals() { } - public MuteTimeInterval(String name, List timeIntervals) { + public AlertmanagerConfigSpecTimeIntervals(String name, List timeIntervals) { super(); this.name = name; this.timeIntervals = timeIntervals; @@ -90,22 +90,22 @@ public void setName(String name) { @JsonProperty("timeIntervals") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTimeIntervals() { + public List getTimeIntervals() { return timeIntervals; } @JsonProperty("timeIntervals") - public void setTimeIntervals(List timeIntervals) { + public void setTimeIntervals(List timeIntervals) { this.timeIntervals = timeIntervals; } @JsonIgnore - public MuteTimeIntervalBuilder edit() { - return new MuteTimeIntervalBuilder(this); + public AlertmanagerConfigSpecTimeIntervalsBuilder edit() { + return new AlertmanagerConfigSpecTimeIntervalsBuilder(this); } @JsonIgnore - public MuteTimeIntervalBuilder toBuilder() { + public AlertmanagerConfigSpecTimeIntervalsBuilder toBuilder() { return edit(); } diff --git a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/AlertmanagerConfigTest.java b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/AlertmanagerConfigTest.java index 2a3c3816a01..f6ef6052c62 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/AlertmanagerConfigTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/AlertmanagerConfigTest.java @@ -15,10 +15,10 @@ */ package io.fabric8.openshift.client.server.mock; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigBuilder; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigListBuilder; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfig; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfigBuilder; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfigList; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfigListBuilder; import io.fabric8.openshift.client.OpenShiftClient; import org.junit.jupiter.api.Test; @@ -34,7 +34,7 @@ class AlertmanagerConfigTest { @Test void get() { // Given - server.expect().get().withPath("/apis/monitoring.coreos.com/v1alpha1/namespaces/ns1/alertmanagerconfigs/test-get") + server.expect().get().withPath("/apis/monitoring.coreos.com/v1beta1/namespaces/ns1/alertmanagerconfigs/test-get") .andReturn(HttpURLConnection.HTTP_OK, createNewAlertmanagerConfig("test-get")) .once(); @@ -51,7 +51,7 @@ void get() { @Test void list() { // Given - server.expect().get().withPath("/apis/monitoring.coreos.com/v1alpha1/namespaces/ns1/alertmanagerconfigs") + server.expect().get().withPath("/apis/monitoring.coreos.com/v1beta1/namespaces/ns1/alertmanagerconfigs") .andReturn(HttpURLConnection.HTTP_OK, new AlertmanagerConfigListBuilder() .addToItems(createNewAlertmanagerConfig("test-list")) .build()) @@ -70,7 +70,7 @@ void list() { @Test void delete() { // Given - server.expect().delete().withPath("/apis/monitoring.coreos.com/v1alpha1/namespaces/ns1/alertmanagerconfigs/test-delete") + server.expect().delete().withPath("/apis/monitoring.coreos.com/v1beta1/namespaces/ns1/alertmanagerconfigs/test-delete") .andReturn(HttpURLConnection.HTTP_OK, createNewAlertmanagerConfig("test-delete")) .once(); diff --git a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusRuleTest.java b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusRuleTest.java index c4f64d7b68a..daa61e89b43 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusRuleTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusRuleTest.java @@ -120,7 +120,7 @@ private PrometheusRule getPrometheusRule() { .withName("./example-rules") .addNewRule() .withAlert("ExampleAlert") - .withNewExpr("vector(1)") + .withExpr("vector(1)") .endRule() .endGroup() .endSpec() diff --git a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusTest.java b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusTest.java index 154d1b97bfb..4b5c768e674 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusTest.java +++ b/kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/PrometheusTest.java @@ -17,18 +17,15 @@ import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.openshift.api.model.monitoring.v1.AlertingSpec; -import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerEndpoints; -import io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerEndpointsBuilder; import io.fabric8.openshift.api.model.monitoring.v1.Prometheus; import io.fabric8.openshift.api.model.monitoring.v1.PrometheusBuilder; import io.fabric8.openshift.api.model.monitoring.v1.PrometheusList; import io.fabric8.openshift.api.model.monitoring.v1.PrometheusListBuilder; +import io.fabric8.openshift.api.model.monitoring.v1.PrometheusSpecAAlertmanagersBuilder; import io.fabric8.openshift.client.OpenShiftClient; import org.junit.jupiter.api.Test; import java.net.HttpURLConnection; -import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -117,22 +114,17 @@ void delete() { } private Prometheus getPrometheus() { - AlertmanagerEndpoints alertmanagerEndpoints = new AlertmanagerEndpointsBuilder() - .withName("alertmanager-main") - .withNamespace("monitoring") - .withPort(new IntOrString("web")) - .build(); - List alertmanagerEndpointsList = new ArrayList<>(); - alertmanagerEndpointsList.add(alertmanagerEndpoints); - - AlertingSpec alertingSpec = new AlertingSpec(); - alertingSpec.setAlertmanagers(alertmanagerEndpointsList); - return new PrometheusBuilder() .withNewMetadata().withName("foo").endMetadata() .withNewSpec() .withServiceAccountName("prometheus-k8s") - .withAlerting(alertingSpec) + .withNewAlerting() + .addToAlertmanagers(new PrometheusSpecAAlertmanagersBuilder() + .withName("alertmanager-main") + .withNamespace("monitoring") + .withPort(new IntOrString("web")) + .build()) + .endAlerting() .endSpec() .build(); } diff --git a/openshift-client-api/src/main/java/io/fabric8/openshift/client/dsl/OpenShiftMonitoringAPIGroupDSL.java b/openshift-client-api/src/main/java/io/fabric8/openshift/client/dsl/OpenShiftMonitoringAPIGroupDSL.java index 7cb411d8a02..ead8a47c817 100644 --- a/openshift-client-api/src/main/java/io/fabric8/openshift/client/dsl/OpenShiftMonitoringAPIGroupDSL.java +++ b/openshift-client-api/src/main/java/io/fabric8/openshift/client/dsl/OpenShiftMonitoringAPIGroupDSL.java @@ -32,8 +32,8 @@ import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList; import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler; import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfig; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfigList; public interface OpenShiftMonitoringAPIGroupDSL extends Client { /** diff --git a/openshift-client/src/main/java/io/fabric8/openshift/client/impl/OpenShiftMonitoringAPIGroupClient.java b/openshift-client/src/main/java/io/fabric8/openshift/client/impl/OpenShiftMonitoringAPIGroupClient.java index 47b25290d4a..b94722a2838 100644 --- a/openshift-client/src/main/java/io/fabric8/openshift/client/impl/OpenShiftMonitoringAPIGroupClient.java +++ b/openshift-client/src/main/java/io/fabric8/openshift/client/impl/OpenShiftMonitoringAPIGroupClient.java @@ -32,8 +32,8 @@ import io.fabric8.openshift.api.model.monitoring.v1.ServiceMonitorList; import io.fabric8.openshift.api.model.monitoring.v1.ThanosRuler; import io.fabric8.openshift.api.model.monitoring.v1.ThanosRulerList; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfig; -import io.fabric8.openshift.api.model.monitoring.v1alpha1.AlertmanagerConfigList; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfig; +import io.fabric8.openshift.api.model.monitoring.v1beta1.AlertmanagerConfigList; import io.fabric8.openshift.client.dsl.OpenShiftMonitoringAPIGroupDSL; public class OpenShiftMonitoringAPIGroupClient extends ClientAdapter