403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.141.32.53
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/java_artifact.py
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210610


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class JavaArtifact(object):
    """
    Information about a binary artifact of Java.
    """

    #: A constant which can be used with the artifact_content_type property of a JavaArtifact.
    #: This constant has a value of "JDK"
    ARTIFACT_CONTENT_TYPE_JDK = "JDK"

    #: A constant which can be used with the artifact_content_type property of a JavaArtifact.
    #: This constant has a value of "JRE"
    ARTIFACT_CONTENT_TYPE_JRE = "JRE"

    #: A constant which can be used with the artifact_content_type property of a JavaArtifact.
    #: This constant has a value of "SERVER_JRE"
    ARTIFACT_CONTENT_TYPE_SERVER_JRE = "SERVER_JRE"

    def __init__(self, **kwargs):
        """
        Initializes a new JavaArtifact object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param artifact_id:
            The value to assign to the artifact_id property of this JavaArtifact.
        :type artifact_id: int

        :param artifact_description:
            The value to assign to the artifact_description property of this JavaArtifact.
        :type artifact_description: str

        :param artifact_content_type:
            The value to assign to the artifact_content_type property of this JavaArtifact.
            Allowed values for this property 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_type: str

        :param approximate_file_size_in_bytes:
            The value to assign to the approximate_file_size_in_bytes property of this JavaArtifact.
        :type approximate_file_size_in_bytes: int

        :param sha256:
            The value to assign to the sha256 property of this JavaArtifact.
        :type sha256: str

        :param artifact_file_name:
            The value to assign to the artifact_file_name property of this JavaArtifact.
        :type artifact_file_name: str

        :param os_family:
            The value to assign to the os_family property of this JavaArtifact.
        :type os_family: str

        :param architecture:
            The value to assign to the architecture property of this JavaArtifact.
        :type architecture: str

        :param package_type:
            The value to assign to the package_type property of this JavaArtifact.
        :type package_type: str

        :param package_type_detail:
            The value to assign to the package_type_detail property of this JavaArtifact.
        :type package_type_detail: str

        :param download_url:
            The value to assign to the download_url property of this JavaArtifact.
        :type download_url: str

        :param script_download_url:
            The value to assign to the script_download_url property of this JavaArtifact.
        :type script_download_url: str

        :param script_checksum_url:
            The value to assign to the script_checksum_url property of this JavaArtifact.
        :type script_checksum_url: str

        """
        self.swagger_types = {
            'artifact_id': 'int',
            'artifact_description': 'str',
            'artifact_content_type': 'str',
            'approximate_file_size_in_bytes': 'int',
            'sha256': 'str',
            'artifact_file_name': 'str',
            'os_family': 'str',
            'architecture': 'str',
            'package_type': 'str',
            'package_type_detail': 'str',
            'download_url': 'str',
            'script_download_url': 'str',
            'script_checksum_url': 'str'
        }

        self.attribute_map = {
            'artifact_id': 'artifactId',
            'artifact_description': 'artifactDescription',
            'artifact_content_type': 'artifactContentType',
            'approximate_file_size_in_bytes': 'approximateFileSizeInBytes',
            'sha256': 'sha256',
            'artifact_file_name': 'artifactFileName',
            'os_family': 'osFamily',
            'architecture': 'architecture',
            'package_type': 'packageType',
            'package_type_detail': 'packageTypeDetail',
            'download_url': 'downloadUrl',
            'script_download_url': 'scriptDownloadUrl',
            'script_checksum_url': 'scriptChecksumUrl'
        }

        self._artifact_id = None
        self._artifact_description = None
        self._artifact_content_type = None
        self._approximate_file_size_in_bytes = None
        self._sha256 = None
        self._artifact_file_name = None
        self._os_family = None
        self._architecture = None
        self._package_type = None
        self._package_type_detail = None
        self._download_url = None
        self._script_download_url = None
        self._script_checksum_url = None

    @property
    def artifact_id(self):
        """
        **[Required]** Gets the artifact_id of this JavaArtifact.
        Unique identifier for the artifact.


        :return: The artifact_id of this JavaArtifact.
        :rtype: int
        """
        return self._artifact_id

    @artifact_id.setter
    def artifact_id(self, artifact_id):
        """
        Sets the artifact_id of this JavaArtifact.
        Unique identifier for the artifact.


        :param artifact_id: The artifact_id of this JavaArtifact.
        :type: int
        """
        self._artifact_id = artifact_id

    @property
    def artifact_description(self):
        """
        **[Required]** Gets the artifact_description of this JavaArtifact.
        Description of the binary artifact. Typically includes the OS, architecture, and installer type.


        :return: The artifact_description of this JavaArtifact.
        :rtype: str
        """
        return self._artifact_description

    @artifact_description.setter
    def artifact_description(self, artifact_description):
        """
        Sets the artifact_description of this JavaArtifact.
        Description of the binary artifact. Typically includes the OS, architecture, and installer type.


        :param artifact_description: The artifact_description of this JavaArtifact.
        :type: str
        """
        self._artifact_description = artifact_description

    @property
    def artifact_content_type(self):
        """
        **[Required]** Gets the artifact_content_type of this JavaArtifact.
        Product content type of this artifact.

        Allowed values for this property are: "JDK", "JRE", "SERVER_JRE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The artifact_content_type of this JavaArtifact.
        :rtype: str
        """
        return self._artifact_content_type

    @artifact_content_type.setter
    def artifact_content_type(self, artifact_content_type):
        """
        Sets the artifact_content_type of this JavaArtifact.
        Product content type of this artifact.


        :param artifact_content_type: The artifact_content_type of this JavaArtifact.
        :type: str
        """
        allowed_values = ["JDK", "JRE", "SERVER_JRE"]
        if not value_allowed_none_or_none_sentinel(artifact_content_type, allowed_values):
            artifact_content_type = 'UNKNOWN_ENUM_VALUE'
        self._artifact_content_type = artifact_content_type

    @property
    def approximate_file_size_in_bytes(self):
        """
        **[Required]** Gets the approximate_file_size_in_bytes of this JavaArtifact.
        Approximate compressed file size in bytes.


        :return: The approximate_file_size_in_bytes of this JavaArtifact.
        :rtype: int
        """
        return self._approximate_file_size_in_bytes

    @approximate_file_size_in_bytes.setter
    def approximate_file_size_in_bytes(self, approximate_file_size_in_bytes):
        """
        Sets the approximate_file_size_in_bytes of this JavaArtifact.
        Approximate compressed file size in bytes.


        :param approximate_file_size_in_bytes: The approximate_file_size_in_bytes of this JavaArtifact.
        :type: int
        """
        self._approximate_file_size_in_bytes = approximate_file_size_in_bytes

    @property
    def sha256(self):
        """
        **[Required]** Gets the sha256 of this JavaArtifact.
        SHA256 checksum of the artifact.


        :return: The sha256 of this JavaArtifact.
        :rtype: str
        """
        return self._sha256

    @sha256.setter
    def sha256(self, sha256):
        """
        Sets the sha256 of this JavaArtifact.
        SHA256 checksum of the artifact.


        :param sha256: The sha256 of this JavaArtifact.
        :type: str
        """
        self._sha256 = sha256

    @property
    def artifact_file_name(self):
        """
        Gets the artifact_file_name of this JavaArtifact.
        The file name of the artifact.


        :return: The artifact_file_name of this JavaArtifact.
        :rtype: str
        """
        return self._artifact_file_name

    @artifact_file_name.setter
    def artifact_file_name(self, artifact_file_name):
        """
        Sets the artifact_file_name of this JavaArtifact.
        The file name of the artifact.


        :param artifact_file_name: The artifact_file_name of this JavaArtifact.
        :type: str
        """
        self._artifact_file_name = artifact_file_name

    @property
    def os_family(self):
        """
        **[Required]** Gets the os_family of this JavaArtifact.
        The target Operating System family for the artifact.


        :return: The os_family of this JavaArtifact.
        :rtype: str
        """
        return self._os_family

    @os_family.setter
    def os_family(self, os_family):
        """
        Sets the os_family of this JavaArtifact.
        The target Operating System family for the artifact.


        :param os_family: The os_family of this JavaArtifact.
        :type: str
        """
        self._os_family = os_family

    @property
    def architecture(self):
        """
        **[Required]** Gets the architecture of this JavaArtifact.
        The target Operating System architecture for the artifact.


        :return: The architecture of this JavaArtifact.
        :rtype: str
        """
        return self._architecture

    @architecture.setter
    def architecture(self, architecture):
        """
        Sets the architecture of this JavaArtifact.
        The target Operating System architecture for the artifact.


        :param architecture: The architecture of this JavaArtifact.
        :type: str
        """
        self._architecture = architecture

    @property
    def package_type(self):
        """
        **[Required]** Gets the package_type of this JavaArtifact.
        The package type(typically the file extension) of the artifact.


        :return: The package_type of this JavaArtifact.
        :rtype: str
        """
        return self._package_type

    @package_type.setter
    def package_type(self, package_type):
        """
        Sets the package_type of this JavaArtifact.
        The package type(typically the file extension) of the artifact.


        :param package_type: The package_type of this JavaArtifact.
        :type: str
        """
        self._package_type = package_type

    @property
    def package_type_detail(self):
        """
        Gets the package_type_detail of this JavaArtifact.
        Additional information about the package type.


        :return: The package_type_detail of this JavaArtifact.
        :rtype: str
        """
        return self._package_type_detail

    @package_type_detail.setter
    def package_type_detail(self, package_type_detail):
        """
        Sets the package_type_detail of this JavaArtifact.
        Additional information about the package type.


        :param package_type_detail: The package_type_detail of this JavaArtifact.
        :type: str
        """
        self._package_type_detail = package_type_detail

    @property
    def download_url(self):
        """
        **[Required]** Gets the download_url of this JavaArtifact.
        The endpoint that returns a short-lived artifact download URL in the response payload.
        This download url can then be used for downloading the artifact.
        See this `API`__ for more details.

        __ https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl


        :return: The download_url of this JavaArtifact.
        :rtype: str
        """
        return self._download_url

    @download_url.setter
    def download_url(self, download_url):
        """
        Sets the download_url of this JavaArtifact.
        The endpoint that returns a short-lived artifact download URL in the response payload.
        This download url can then be used for downloading the artifact.
        See this `API`__ for more details.

        __ https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl


        :param download_url: The download_url of this JavaArtifact.
        :type: str
        """
        self._download_url = download_url

    @property
    def script_download_url(self):
        """
        **[Required]** Gets the script_download_url of this JavaArtifact.
        The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles.
        Depending on the context, this can point to the archive or latest update release version artifact in the specified family.


        :return: The script_download_url of this JavaArtifact.
        :rtype: str
        """
        return self._script_download_url

    @script_download_url.setter
    def script_download_url(self, script_download_url):
        """
        Sets the script_download_url of this JavaArtifact.
        The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles.
        Depending on the context, this can point to the archive or latest update release version artifact in the specified family.


        :param script_download_url: The script_download_url of this JavaArtifact.
        :type: str
        """
        self._script_download_url = script_download_url

    @property
    def script_checksum_url(self):
        """
        **[Required]** Gets the script_checksum_url of this JavaArtifact.
        The URL for retrieving the checksum for the artifact.
        Depending on the context, this can point to the checksum of the archive or latest update release version artifact.


        :return: The script_checksum_url of this JavaArtifact.
        :rtype: str
        """
        return self._script_checksum_url

    @script_checksum_url.setter
    def script_checksum_url(self, script_checksum_url):
        """
        Sets the script_checksum_url of this JavaArtifact.
        The URL for retrieving the checksum for the artifact.
        Depending on the context, this can point to the checksum of the archive or latest update release version artifact.


        :param script_checksum_url: The script_checksum_url of this JavaArtifact.
        :type: str
        """
        self._script_checksum_url = script_checksum_url

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other

Youez - 2016 - github.com/yon3zu
LinuXploit