ModifyPeerDetails¶
- class oci.blockchain.models.ModifyPeerDetails(**kwargs)¶
Bases:
objectpeer to modify ocpu allocation
Methods:
__init__(**kwargs)Initializes a new ModifyPeerDetails object with values from keyword arguments.
Attributes:
[Required] Gets the ocpu_allocation_param of this ModifyPeerDetails.
[Required] Gets the peer_name of this ModifyPeerDetails.
- __init__(**kwargs)¶
Initializes a new ModifyPeerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
peer_name (str) – The value to assign to the peer_name property of this ModifyPeerDetails.
ocpu_allocation_param (oci.blockchain.models.OcpuAllocationNumberParam) – The value to assign to the ocpu_allocation_param property of this ModifyPeerDetails.
- property ocpu_allocation_param¶
[Required] Gets the ocpu_allocation_param of this ModifyPeerDetails.
- Returns
The ocpu_allocation_param of this ModifyPeerDetails.
- Return type
- property peer_name¶
[Required] Gets the peer_name of this ModifyPeerDetails. peer identifier
- Returns
The peer_name of this ModifyPeerDetails.
- Return type
str