ruạṛ
a N��f�J � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �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� �Zejd3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�ScaledBlockchainPlatformPreviewzI Blockchain Platform Instance Description Preview after Scaling. c K s� ddddddddddddddddd �| _ d ddd ddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new ScaledBlockchainPlatformPreview object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ScaledBlockchainPlatformPreview. :type id: str :param display_name: The value to assign to the display_name property of this ScaledBlockchainPlatformPreview. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this ScaledBlockchainPlatformPreview. :type compartment_id: str :param description: The value to assign to the description property of this ScaledBlockchainPlatformPreview. :type description: str :param compute_shape: The value to assign to the compute_shape property of this ScaledBlockchainPlatformPreview. :type compute_shape: str :param storage_size_in_tbs: The value to assign to the storage_size_in_tbs property of this ScaledBlockchainPlatformPreview. :type storage_size_in_tbs: float :param storage_size_in_tbs_post_scaling: The value to assign to the storage_size_in_tbs_post_scaling property of this ScaledBlockchainPlatformPreview. :type storage_size_in_tbs_post_scaling: float :param component_details: The value to assign to the component_details property of this ScaledBlockchainPlatformPreview. :type component_details: oci.blockchain.models.BlockchainPlatformComponentDetails :param replicas: The value to assign to the replicas property of this ScaledBlockchainPlatformPreview. :type replicas: oci.blockchain.models.ReplicaDetails :param component_details_post_scaling: The value to assign to the component_details_post_scaling property of this ScaledBlockchainPlatformPreview. :type component_details_post_scaling: oci.blockchain.models.BlockchainPlatformComponentDetails :param replicas_post_scaling: The value to assign to the replicas_post_scaling property of this ScaledBlockchainPlatformPreview. :type replicas_post_scaling: oci.blockchain.models.ReplicaDetails :param host_ocpu_utilization_info: The value to assign to the host_ocpu_utilization_info property of this ScaledBlockchainPlatformPreview. :type host_ocpu_utilization_info: list[oci.blockchain.models.OcpuUtilizationInfo] :param host_ocpu_utilization_info_post_scaling: The value to assign to the host_ocpu_utilization_info_post_scaling property of this ScaledBlockchainPlatformPreview. :type host_ocpu_utilization_info_post_scaling: list[oci.blockchain.models.OcpuUtilizationInfo] :param new_vm_count: The value to assign to the new_vm_count property of this ScaledBlockchainPlatformPreview. :type new_vm_count: int :param metering_preview: The value to assign to the metering_preview property of this ScaledBlockchainPlatformPreview. :type metering_preview: oci.blockchain.models.ScaledPlatformMeteringPreview :param scale_payload: The value to assign to the scale_payload property of this ScaledBlockchainPlatformPreview. :type scale_payload: oci.blockchain.models.ScaleBlockchainPlatformDetails �str�float�"BlockchainPlatformComponentDetails�ReplicaDetailszlist[OcpuUtilizationInfo]�int�ScaledPlatformMeteringPreview�ScaleBlockchainPlatformDetails)�id�display_name�compartment_id�description� compute_shape�storage_size_in_tbs� storage_size_in_tbs_post_scaling�component_details�replicas�component_details_post_scaling�replicas_post_scaling�host_ocpu_utilization_info�'host_ocpu_utilization_info_post_scaling�new_vm_count�metering_preview� scale_payloadr �displayName� compartmentIdr �computeShape�storageSizeInTBs�storageSizeInTBsPostScaling�componentDetailsr �componentDetailsPostScaling�replicasPostScaling�hostOcpuUtilizationInfo�"hostOcpuUtilizationInfoPostScaling� newVmCount�meteringPreview�scalePayloadN)� swagger_types� attribute_map�_id� _display_name�_compartment_id�_description�_compute_shape�_storage_size_in_tbs�!_storage_size_in_tbs_post_scaling�_component_details� _replicas�_component_details_post_scaling�_replicas_post_scaling�_host_ocpu_utilization_info�(_host_ocpu_utilization_info_post_scaling� _new_vm_count�_metering_preview�_scale_payload)�self�kwargs� r? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/blockchain/models/scaled_blockchain_platform_preview.py�__init__ sd G��z(ScaledBlockchainPlatformPreview.__init__c C s | j S )z� **[Required]** Gets the id of this ScaledBlockchainPlatformPreview. unique identifier that is immutable on creation :return: The id of this ScaledBlockchainPlatformPreview. :rtype: str �r- �r= r? r? r@ r � s z"ScaledBlockchainPlatformPreview.idc C s || _ dS )z� Sets the id of this ScaledBlockchainPlatformPreview. unique identifier that is immutable on creation :param id: The id of this ScaledBlockchainPlatformPreview. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the display_name of this ScaledBlockchainPlatformPreview. Platform Instance Display name, can be renamed :return: The display_name of this ScaledBlockchainPlatformPreview. :rtype: str �r. rC r? r? r@ r � s z,ScaledBlockchainPlatformPreview.display_namec C s || _ dS )z� Sets the display_name of this ScaledBlockchainPlatformPreview. Platform Instance Display name, can be renamed :param display_name: The display_name of this ScaledBlockchainPlatformPreview. :type: str NrD )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ScaledBlockchainPlatformPreview. Compartment Identifier :return: The compartment_id of this ScaledBlockchainPlatformPreview. :rtype: str �r/ rC r? r? r@ r � s z.ScaledBlockchainPlatformPreview.compartment_idc C s || _ dS )z� Sets the compartment_id of this ScaledBlockchainPlatformPreview. Compartment Identifier :param compartment_id: The compartment_id of this ScaledBlockchainPlatformPreview. :type: str NrE )r= r r? r? r@ r � s c C s | j S )z� Gets the description of this ScaledBlockchainPlatformPreview. Platform Instance Description :return: The description of this ScaledBlockchainPlatformPreview. :rtype: str �r0 rC r? r? r@ r � s z+ScaledBlockchainPlatformPreview.descriptionc C s || _ dS )z� Sets the description of this ScaledBlockchainPlatformPreview. Platform Instance Description :param description: The description of this ScaledBlockchainPlatformPreview. :type: str NrF )r= r r? r? r@ r � s c C s | j S )aO **[Required]** Gets the compute_shape of this ScaledBlockchainPlatformPreview. Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM :return: The compute_shape of this ScaledBlockchainPlatformPreview. :rtype: str �r1 rC r? r? r@ r � s z-ScaledBlockchainPlatformPreview.compute_shapec C s || _ dS )aL Sets the compute_shape of this ScaledBlockchainPlatformPreview. Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM :param compute_shape: The compute_shape of this ScaledBlockchainPlatformPreview. :type: str NrG )r= r r? r? r@ r � s c C s | j S )z� Gets the storage_size_in_tbs of this ScaledBlockchainPlatformPreview. Storage size in TBs :return: The storage_size_in_tbs of this ScaledBlockchainPlatformPreview. :rtype: float �r2 rC r? r? r@ r s z3ScaledBlockchainPlatformPreview.storage_size_in_tbsc C s || _ dS )z� Sets the storage_size_in_tbs of this ScaledBlockchainPlatformPreview. Storage size in TBs :param storage_size_in_tbs: The storage_size_in_tbs of this ScaledBlockchainPlatformPreview. :type: float NrH )r= r r? r? r@ r s c C s | j S )a Gets the storage_size_in_tbs_post_scaling of this ScaledBlockchainPlatformPreview. Storage size in TBs post scaling :return: The storage_size_in_tbs_post_scaling of this ScaledBlockchainPlatformPreview. :rtype: float �r3 rC r? r? r@ r s z@ScaledBlockchainPlatformPreview.storage_size_in_tbs_post_scalingc C s || _ dS )a# Sets the storage_size_in_tbs_post_scaling of this ScaledBlockchainPlatformPreview. Storage size in TBs post scaling :param storage_size_in_tbs_post_scaling: The storage_size_in_tbs_post_scaling of this ScaledBlockchainPlatformPreview. :type: float NrI )r= r r? r? r@ r ) s c C s | j S )z� Gets the component_details of this ScaledBlockchainPlatformPreview. :return: The component_details of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.BlockchainPlatformComponentDetails �r4 rC r? r? r@ r 5 s z1ScaledBlockchainPlatformPreview.component_detailsc C s || _ dS )z� Sets the component_details of this ScaledBlockchainPlatformPreview. :param component_details: The component_details of this ScaledBlockchainPlatformPreview. :type: oci.blockchain.models.BlockchainPlatformComponentDetails NrJ )r= r r? r? r@ r ? s c C s | j S )z� Gets the replicas of this ScaledBlockchainPlatformPreview. :return: The replicas of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.ReplicaDetails �r5 rC r? r? r@ r I s z(ScaledBlockchainPlatformPreview.replicasc C s || _ dS )z� Sets the replicas of this ScaledBlockchainPlatformPreview. :param replicas: The replicas of this ScaledBlockchainPlatformPreview. :type: oci.blockchain.models.ReplicaDetails NrK )r= r r? r? r@ r S s c C s | j S )a Gets the component_details_post_scaling of this ScaledBlockchainPlatformPreview. :return: The component_details_post_scaling of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.BlockchainPlatformComponentDetails �r6 rC r? r? r@ r ] s z>ScaledBlockchainPlatformPreview.component_details_post_scalingc C s || _ dS )a& Sets the component_details_post_scaling of this ScaledBlockchainPlatformPreview. :param component_details_post_scaling: The component_details_post_scaling of this ScaledBlockchainPlatformPreview. :type: oci.blockchain.models.BlockchainPlatformComponentDetails NrL )r= r r? r? r@ r g s c C s | j S )z� Gets the replicas_post_scaling of this ScaledBlockchainPlatformPreview. :return: The replicas_post_scaling of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.ReplicaDetails �r7 rC r? r? r@ r q s z5ScaledBlockchainPlatformPreview.replicas_post_scalingc C s || _ dS )z� Sets the replicas_post_scaling of this ScaledBlockchainPlatformPreview. :param replicas_post_scaling: The replicas_post_scaling of this ScaledBlockchainPlatformPreview. :type: oci.blockchain.models.ReplicaDetails NrM )r= r r? r? r@ r { s c C s | j S )a' Gets the host_ocpu_utilization_info of this ScaledBlockchainPlatformPreview. List of OcpuUtilization for all hosts :return: The host_ocpu_utilization_info of this ScaledBlockchainPlatformPreview. :rtype: list[oci.blockchain.models.OcpuUtilizationInfo] �r8 rC r? r? r@ r � s z:ScaledBlockchainPlatformPreview.host_ocpu_utilization_infoc C s || _ dS )a@ Sets the host_ocpu_utilization_info of this ScaledBlockchainPlatformPreview. List of OcpuUtilization for all hosts :param host_ocpu_utilization_info: The host_ocpu_utilization_info of this ScaledBlockchainPlatformPreview. :type: list[oci.blockchain.models.OcpuUtilizationInfo] NrN )r= r r? r? r@ r � s c C s | j S )aO Gets the host_ocpu_utilization_info_post_scaling of this ScaledBlockchainPlatformPreview. List of OcpuUtilization for all hosts after scaling :return: The host_ocpu_utilization_info_post_scaling of this ScaledBlockchainPlatformPreview. :rtype: list[oci.blockchain.models.OcpuUtilizationInfo] �r9 rC r? r? r@ r � s zGScaledBlockchainPlatformPreview.host_ocpu_utilization_info_post_scalingc C s || _ dS )au Sets the host_ocpu_utilization_info_post_scaling of this ScaledBlockchainPlatformPreview. List of OcpuUtilization for all hosts after scaling :param host_ocpu_utilization_info_post_scaling: The host_ocpu_utilization_info_post_scaling of this ScaledBlockchainPlatformPreview. :type: list[oci.blockchain.models.OcpuUtilizationInfo] NrO )r= r r? r? r@ r � s c C s | j S )z� Gets the new_vm_count of this ScaledBlockchainPlatformPreview. Number of new VMs that would be created :return: The new_vm_count of this ScaledBlockchainPlatformPreview. :rtype: int �r: rC r? r? r@ r � s z,ScaledBlockchainPlatformPreview.new_vm_countc C s || _ dS )z� Sets the new_vm_count of this ScaledBlockchainPlatformPreview. Number of new VMs that would be created :param new_vm_count: The new_vm_count of this ScaledBlockchainPlatformPreview. :type: int NrP )r= r r? r? r@ r � s c C s | j S )z� Gets the metering_preview of this ScaledBlockchainPlatformPreview. :return: The metering_preview of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.ScaledPlatformMeteringPreview �r; rC r? r? r@ r � s z0ScaledBlockchainPlatformPreview.metering_previewc C s || _ dS )z� Sets the metering_preview of this ScaledBlockchainPlatformPreview. :param metering_preview: The metering_preview of this ScaledBlockchainPlatformPreview. :type: oci.blockchain.models.ScaledPlatformMeteringPreview NrQ )r= r r? r? r@ r � s c C s | j S )z� Gets the scale_payload of this ScaledBlockchainPlatformPreview. :return: The scale_payload of this ScaledBlockchainPlatformPreview. :rtype: oci.blockchain.models.ScaleBlockchainPlatformDetails �r<