File: //lib/python3.9/site-packages/oci/jms/models/__pycache__/java_release.cpython-39.pyc
a
���fJO � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dZd
ZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Z e jd3d2� �Z ed4d5� �Z!e!jd6d5� �Z!ed7d8� �Z"e"jd9d8� �Z"ed:d;� �Z#e#jd<d;� �Z#d=d>� Z$d?d@� Z%dAdB� Z&dCS )D�JavaReleasez]
Metadata associated with a specific release of Java. Includes the artifact details.
�EARLY_ACCESS�UNKNOWN�
UP_TO_DATE�UPDATE_REQUIRED�UPGRADE_REQUIRED�CPU�FEATURE�BPR�
PATCH_RELEASE�OTN�NFTC�
RESTRICTED�JDK�JRE�
SERVER_JREc K s� ddddddddddddddd �| _ d
ddd
ddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
d| _d| _dS )a
Initializes a new JavaRelease object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param artifacts:
The value to assign to the artifacts property of this JavaRelease.
:type artifacts: list[oci.jms.models.JavaArtifact]
:param release_version:
The value to assign to the release_version property of this JavaRelease.
:type release_version: str
:param family_version:
The value to assign to the family_version property of this JavaRelease.
:type family_version: str
:param parent_release_version:
The value to assign to the parent_release_version property of this JavaRelease.
:type parent_release_version: str
:param security_status:
The value to assign to the security_status property of this JavaRelease.
Allowed values for this property are: "EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type security_status: str
:param release_type:
The value to assign to the release_type property of this JavaRelease.
Allowed values for this property are: "CPU", "FEATURE", "BPR", "PATCH_RELEASE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type release_type: str
:param license_type:
The value to assign to the license_type property of this JavaRelease.
Allowed values for this property are: "OTN", "NFTC", "RESTRICTED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type license_type: str
:param family_details:
The value to assign to the family_details property of this JavaRelease.
:type family_details: oci.jms.models.JavaFamily
:param license_details:
The value to assign to the license_details property of this JavaRelease.
:type license_details: oci.jms.models.JavaLicense
:param release_date:
The value to assign to the release_date property of this JavaRelease.
:type release_date: datetime
:param release_notes_url:
The value to assign to the release_notes_url property of this JavaRelease.
:type release_notes_url: str
:param artifact_content_types:
The value to assign to the artifact_content_types property of this JavaRelease.
Allowed values for items in this list are: "JDK", "JRE", "SERVER_JRE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type artifact_content_types: list[str]
:param mos_patches:
The value to assign to the mos_patches property of this JavaRelease.
:type mos_patches: list[oci.jms.models.PatchDetail]
:param days_under_security_baseline:
The value to assign to the days_under_security_baseline property of this JavaRelease.
:type days_under_security_baseline: int
zlist[JavaArtifact]�strZ
JavaFamilyZJavaLicenseZdatetimez list[str]zlist[PatchDetail]�int)� artifacts�release_version�family_version�parent_release_version�security_status�release_type�license_type�family_details�license_details�release_date�release_notes_url�artifact_content_types�mos_patches�days_under_security_baseliner ZreleaseVersionZ
familyVersionZparentReleaseVersionZsecurityStatusZreleaseTypeZlicenseTypeZ
familyDetailsZlicenseDetailsZreleaseDateZreleaseNotesUrlZartifactContentTypesZ
mosPatchesZdaysUnderSecurityBaselineN)Z
swagger_typesZ
attribute_map�
_artifacts�_release_version�_family_version�_parent_release_version�_security_status�
_release_type�
_license_type�_family_details�_license_details�
_release_date�_release_notes_url�_artifact_content_types�_mos_patches�_days_under_security_baseline)�self�kwargs� r6 �?/usr/lib/python3.9/site-packages/oci/jms/models/java_release.py�__init__N sX G��zJavaRelease.__init__c C s | j S )z�
Gets the artifacts of this JavaRelease.
List of Java artifacts.
:return: The artifacts of this JavaRelease.
:rtype: list[oci.jms.models.JavaArtifact]
�r&