ModifyPeerDetails

class oci.blockchain.models.ModifyPeerDetails(**kwargs)

Bases: object

peer to modify ocpu allocation

Methods

__init__(**kwargs) Initializes a new ModifyPeerDetails object with values from keyword arguments.

Attributes

ocpu_allocation_param [Required] Gets the ocpu_allocation_param of this ModifyPeerDetails.
peer_name [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.
ocpu_allocation_param

[Required] Gets the ocpu_allocation_param of this ModifyPeerDetails.

Returns:The ocpu_allocation_param of this ModifyPeerDetails.
Return type:oci.blockchain.models.OcpuAllocationNumberParam
peer_name

[Required] Gets the peer_name of this ModifyPeerDetails. peer identifier

Returns:The peer_name of this ModifyPeerDetails.
Return type:str