def __init__(self, domain=None, type=None, created_at=None, updated_at=None, status=None, message=None, error=None, dns_challenge=None, http_challenge=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) self.domain = domain self.type = type self.created_at = string_to_datetime( created_at) if created_at is not None else created_at self.updated_at = string_to_datetime( updated_at) if updated_at is not None else updated_at self.status = status self.message = message self.error = error self.dns_challenge = dns_challenge self.http_challenge = http_challenge self.client = client
def __init__(self, id=None, created_at=None, created_by=None, modified_at=None, done=None, response=None, error=None, metadata=None, description=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) # Required self.id = id # Optional self.created_at = string_to_datetime( created_at) if created_at is not None else created_at self.created_by = created_by self.modified_at = string_to_datetime( modified_at) if modified_at is not None else modified_at self.done = bool(done) self.response = response self.error = error self.metadata = metadata self.description = description self.client = client self._id_attrs = (self.id, )
def __init__(self, id=None, folder_id=None, created_at=None, name=None, description=None, labels=None, type=None, domains=None, status=None, subject=None, serial=None, updated_at=None, issued_at=None, not_after=None, not_before=None, challenges=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) # Required self.id = id # Optional self.folder_id = folder_id self.created_at = string_to_datetime( created_at) if created_at is not None else created_at self.name = name self.description = description self.labels = labels or {} self.type = type self.domains = domains self.status = status self.subject = subject self.serial = serial self.updated_at = string_to_datetime( updated_at) if updated_at is not None else updated_at self.issued_at = string_to_datetime( issued_at) if issued_at is not None else issued_at self.not_after = string_to_datetime( not_after) if not_after is not None else not_after self.not_before = string_to_datetime( not_before) if not_before is not None else not_before self.challenges = challenges self.client = client self._id_attrs = (self.id, )
def __init__(self, id=None, folder_id=None, created_at=None, name=None, description=None, labels=None, storage_size=None, disk_size=None, product_ids=None, status=None, source_disk_id=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) # Required self.id = id # Optional self.folder_id = folder_id self.created_at = string_to_datetime(created_at) if created_at is not None else created_at self.name = name self.description = description self.labels = labels self.storage_size = int(storage_size) if storage_size is not None else storage_size self.disk_size = int(disk_size) if disk_size is not None else disk_size self.product_ids = product_ids self.status = status self.source_disk_id = source_disk_id self.client = client self._id_attrs = (self.id,)
def __init__(self, id=None, folder_id=None, created_at=None, name=None, description=None, labels=None, zone_id=None, platform_id=None, resources=None, status=None, metadata=None, boot_disk=None, secondary_disks=None, network_interfaces=None, fqdn=None, scheduling_policy=None, service_account_id=None, network_settings=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) # Required self.id = id # Optional self.folder_id = folder_id self.created_at = string_to_datetime( created_at) if created_at is not None else created_at self.name = name self.description = description self.labels = labels or {} self.zone_id = zone_id self.platform_id = platform_id self.resources = resources self.status = status self.metadata = metadata self.boot_disk = boot_disk self.secondary_disks = secondary_disks self.network_interfaces = network_interfaces self.fqdn = fqdn self.scheduling_policy = scheduling_policy self.service_account_id = service_account_id self.network_settings = network_settings self.client = client self._id_attrs = (self.id, )
def __init__(self, id=None, created_at=None, name=None, description=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) self.id = id self.created_at = string_to_datetime(created_at) if created_at is not None else created_at self.name = name self.description = description self.client = client self._id_attrs = (self.id,)
def __init__(self, id=None, folder_id=None, created_at=None, name=None, description=None, labels=None, type_id=None, zone_id=None, size=None, product_ids=None, status=None, instance_ids=None, source_image_id=None, source_snapshot_id=None, client=None, **kwargs): super().handle_unknown_kwargs(self, **kwargs) # Required self.id = id # Optional self.folder_id = folder_id self.created_at = string_to_datetime( created_at) if created_at is not None else created_at self.name = name self.description = description self.labels = labels or {} self.type_id = type_id self.zone_id = zone_id self.size = int(size) if size is not None else None self.product_ids = product_ids self.status = status self.instance_ids = instance_ids self.source_image_id = source_image_id self.source_snapshot_id = source_snapshot_id self.client = client self._id_attrs = (self.id, )