Skip to main content

Module clients.internal_h2o_version.mapper

Functions

build_internal_h2o_version_name

def build_internal_h2o_version_name(internal_h2o_version_id: str) ‑> str

Build full resource name of InternalH2OVersion based on its ID.

Args
internal_h2o_version_id
InternalH2OVersion ID.
Returns

Full resource name of an InternalH2OVersion.

from_api_internal_h2o_version_to_custom

def from_api_internal_h2o_version_to_custom(api_internal_h2o_version: h2o_engine_manager.gen.model.v1_internal_h2_o_version.V1InternalH2OVersion) ‑> h2o_engine_manager.clients.internal_h2o_version.version.InternalH2OVersion

Map API InternalH2OVersion object into custom InternalH2OVersion object.

Args
api_internal_h2o_version
generated InternalH2OVersion object
Returns

mapped InternalH2OVersion object

from_api_objects

def from_api_objects(api_versions: List[h2o_engine_manager.gen.model.v1_internal_h2_o_version.V1InternalH2OVersion]) ‑> List[h2o_engine_manager.clients.internal_h2o_version.version.InternalH2OVersion]

from_custom_internal_h2o_version_to_api_resource

def from_custom_internal_h2o_version_to_api_resource(internal_h2o_version: h2o_engine_manager.clients.internal_h2o_version.version.InternalH2OVersion) ‑> h2o_engine_manager.gen.model.internal_h2_o_version_resource.InternalH2OVersionResource

Map custom InternalH2OVersion to API InternalH2OVersion.

Args
internal_h2o_version
InternalH2OVersion
Returns

API InternalH2OVersion


Feedback