models.pvc_info module

class models.pvc_info.PVCInfo(api_version=None, kind=None, metadata=None, spec=None)[source]

Bases: object

Implementation of the ‘PVCInfo’ model.

Message that encapsulates information about a PVC. We only extract relevant information from a larger response sent by Kubernetes.

Attributes:
api_version (string): APIVersion defines the versioned schema of this

representation of anobject. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values.

kind (string): Kind is a string value representing the REST resource

this object represents. Servers may infer this from the endpoint the client submits requests to.

metadata (ObjectMeta): Metadata if any. spec (PVCInfo_PVCSpec): Specifies the IPMI Username.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.