Skip to main content

Module clients.internal_dai_version.mapper

Functions

build_internal_dai_version_name

def build_internal_dai_version_name(internal_dai_version_id: str) ‑> str

Build full resource name of InternalDAIVersion based on its ID.

Args
internal_dai_version_id
InternalDAIVersion ID.
Returns

Full resource name of an InternalDAIVersion.

from_api_internal_dai_version_to_custom

def from_api_internal_dai_version_to_custom(api_internal_dai_version: h2o_engine_manager.gen.model.v1_internal_dai_version.V1InternalDAIVersion) ‑> h2o_engine_manager.clients.internal_dai_version.version.InternalDAIVersion

Map API InternalDAIVersion object into custom InternalDAIVersion object.

Args
api_internal_dai_version
generated InternalDAIVersion object
Returns

mapped InternalDAIVersion object

from_api_objects

def from_api_objects(api_versions: List[h2o_engine_manager.gen.model.v1_internal_dai_version.V1InternalDAIVersion]) ‑> List[h2o_engine_manager.clients.internal_dai_version.version.InternalDAIVersion]

from_custom_internal_dai_version_to_api_resource

def from_custom_internal_dai_version_to_api_resource(internal_dai_version: h2o_engine_manager.clients.internal_dai_version.version.InternalDAIVersion) ‑> h2o_engine_manager.gen.model.internal_dai_version_resource.InternalDAIVersionResource

Map custom InternalDAIVersion to API InternalDAIVersion.

Args
internal_dai_version
InternalDAIVersion
Returns

API InternalDAIVersion


Feedback