PeerSummary

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

Bases: object

Peer summary information for returning in a list.

Methods:

__init__(**kwargs)

Initializes a new PeerSummary object with values from keyword arguments.

Attributes:

lifecycle_state

Gets the lifecycle_state of this PeerSummary.

peer_key

Gets the peer_key of this PeerSummary.

__init__(**kwargs)

Initializes a new PeerSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • peer_key (str) – The value to assign to the peer_key property of this PeerSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PeerSummary.

property lifecycle_state

Gets the lifecycle_state of this PeerSummary. The current state of the peer.

Returns

The lifecycle_state of this PeerSummary.

Return type

str

property peer_key

Gets the peer_key of this PeerSummary. Peer identifier

Returns

The peer_key of this PeerSummary.

Return type

str