📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.9 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: compute_network_block.cpython-39.opt-1.pyc
a ���f!) � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd � Zd!S )"�ComputeNetworkBlockz" A compute network block. �ACTIVE�INACTIVEc K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ComputeNetworkBlock object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compute_capacity_topology_id: The value to assign to the compute_capacity_topology_id property of this ComputeNetworkBlock. :type compute_capacity_topology_id: str :param compute_hpc_island_id: The value to assign to the compute_hpc_island_id property of this ComputeNetworkBlock. :type compute_hpc_island_id: str :param id: The value to assign to the id property of this ComputeNetworkBlock. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ComputeNetworkBlock. Allowed values for this property are: "ACTIVE", "INACTIVE" :type lifecycle_state: str :param time_created: The value to assign to the time_created property of this ComputeNetworkBlock. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ComputeNetworkBlock. :type time_updated: datetime :param total_compute_bare_metal_host_count: The value to assign to the total_compute_bare_metal_host_count property of this ComputeNetworkBlock. :type total_compute_bare_metal_host_count: int �strZdatetime�int)�compute_capacity_topology_id�compute_hpc_island_id�id�lifecycle_state�time_created�time_updated�#total_compute_bare_metal_host_countZcomputeCapacityTopologyIdZcomputeHpcIslandIdr ZlifecycleStateZtimeCreatedZtimeUpdatedZtotalComputeBareMetalHostCountN) Z swagger_typesZ attribute_map�_compute_capacity_topology_id�_compute_hpc_island_id�_id�_lifecycle_state� _time_created� _time_updated�$_total_compute_bare_metal_host_count)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/core/models/compute_network_block.py�__init__ s. $�� zComputeNetworkBlock.__init__c C s | j S )aW **[Required]** Gets the compute_capacity_topology_id of this ComputeNetworkBlock. The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compute_capacity_topology_id of this ComputeNetworkBlock. :rtype: str �r �r r r r r Y s z0ComputeNetworkBlock.compute_capacity_topology_idc C s || _ dS )ac Sets the compute_capacity_topology_id of this ComputeNetworkBlock. The `OCID`__ of the compute capacity topology. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compute_capacity_topology_id: The compute_capacity_topology_id of this ComputeNetworkBlock. :type: str Nr )r r r r r r g s c C s | j S )aB **[Required]** Gets the compute_hpc_island_id of this ComputeNetworkBlock. The `OCID`__ of the compute HPC island. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compute_hpc_island_id of this ComputeNetworkBlock. :rtype: str �r r r r r r u s z)ComputeNetworkBlock.compute_hpc_island_idc C s || _ dS )aG Sets the compute_hpc_island_id of this ComputeNetworkBlock. The `OCID`__ of the compute HPC island. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compute_hpc_island_id: The compute_hpc_island_id of this ComputeNetworkBlock. :type: str Nr )r r r r r r � s c C s | j S )a **[Required]** Gets the id of this ComputeNetworkBlock. The `OCID`__ of the compute network block. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ComputeNetworkBlock. :rtype: str �r r r r r r � s zComputeNetworkBlock.idc C s || _ dS )a Sets the id of this ComputeNetworkBlock. The `OCID`__ of the compute network block. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this ComputeNetworkBlock. :type: str Nr! )r r r r r r � s c C s | j S )a* **[Required]** Gets the lifecycle_state of this ComputeNetworkBlock. The current state of the compute network block. Allowed values for this property are: "ACTIVE", "INACTIVE" :return: The lifecycle_state of this ComputeNetworkBlock. :rtype: str )r r r r r r � s z#ComputeNetworkBlock.lifecycle_statec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the lifecycle_state of this ComputeNetworkBlock. The current state of the compute network block. :param lifecycle_state: The lifecycle_state of this ComputeNetworkBlock. :type: str r r z<Invalid value for `lifecycle_state`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )av **[Required]** Gets the time_created of this ComputeNetworkBlock. The date and time that the compute network block was created, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this ComputeNetworkBlock. :rtype: datetime �r r r r r r � s z ComputeNetworkBlock.time_createdc C s || _ dS )ar Sets the time_created of this ComputeNetworkBlock. The date and time that the compute network block was created, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this ComputeNetworkBlock. :type: datetime Nr# )r r r r r r � s c C s | j S )av **[Required]** Gets the time_updated of this ComputeNetworkBlock. The date and time that the compute network block was updated, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this ComputeNetworkBlock. :rtype: datetime �r r r r r r � s z ComputeNetworkBlock.time_updatedc C s || _ dS )ar Sets the time_updated of this ComputeNetworkBlock. The date and time that the compute network block was updated, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this ComputeNetworkBlock. :type: datetime Nr$ )r r r r r r � s c C s | j S )a2 **[Required]** Gets the total_compute_bare_metal_host_count of this ComputeNetworkBlock. The total number of compute bare metal hosts located in this compute network block. :return: The total_compute_bare_metal_host_count of this ComputeNetworkBlock. :rtype: int �r r r r r r s z7ComputeNetworkBlock.total_compute_bare_metal_host_countc C s || _ dS )aE Sets the total_compute_bare_metal_host_count of this ComputeNetworkBlock. The total number of compute bare metal hosts located in this compute network block. :param total_compute_bare_metal_host_count: The total_compute_bare_metal_host_count of this ComputeNetworkBlock. :type: int Nr% )r r r r r r s c C s t | �S �N)r r r r r �__repr__$ s zComputeNetworkBlock.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__' s zComputeNetworkBlock.__eq__c C s | |k S r&