Skip to main content

Module clients.dai_license.dai_license_metadata

Functions

from_api_object

def from_api_object(api_object: h2o_engine_manager.gen.model.v1_dai_license_metadata.V1DAILicenseMetadata) ‑> DAILicenseMetadata

Converts API object to DAILicenseMetadata.

Args
api_object
Generated API object.
Returns

DAILicenseMetadata instance.

Classes

DAILicenseMetadata

class DAILicenseMetadata(license_version: str = '', serial_number: int = 0, licensee_organization: str = '', licensee_email: str = '', licensee_user_id: str = '', is_h2o_internal_use: bool = False, created_by_email: str = '', creation_date: Optional[datetime.date] = None, product: str = '', license_type: str = '', expiration_date: Optional[datetime.date] = None)

DAI License Metadata containing information about the configured license.

Attributes
license_version
License version.
serial_number
License serial number.
licensee_organization
Organization name of the licensee.
licensee_email
Email of the licensee.
licensee_user_id
User ID of the licensee.
is_h2o_internal_use
Indicates if this is for H2O internal use.
created_by_email
Email of the person who created the license.
creation_date
Date when the license was created.
product
Product name (e.g., "DriverlessAI").
license_type
License type (e.g., "developer").
expiration_date
Date when the license expires.

Class variables

var created_by_email : str
var creation_date : Optional[datetime.date]
var expiration_date : Optional[datetime.date]
var is_h2o_internal_use : bool
var license_type : str
var license_version : str
var licensee_email : str
var licensee_organization : str
var licensee_user_id : str
var product : str
var serial_number : int

Feedback