def to_json(self): return remove_null_values({ "type": self.type, "objective": self.__objective, "document_types": self.__document_types, "country_codes": self.__country_codes, })
def to_json(self): return remove_null_values({ "allowed_capture_methods": self.allowed_capture_methods, "primary_colour": self.primary_colour, "secondary_colour": self.secondary_colour, "font_colour": self.font_colour, "locale": self.locale, "preset_issuing_country": self.preset_issuing_country, "success_url": self.success_url, "error_url": self.error_url, })
def to_json(self): return remove_null_values({ "client_session_token_ttl": self.client_session_token_ttl, "resources_ttl": self.resources_ttl, "user_tracking_id": self.user_tracking_id, "notifications": self.notifications, "requested_checks": self.requested_checks, "requested_tasks": self.requested_tasks, "sdk_config": self.sdk_config, "required_documents": self.required_documents, "block_biometric_consent": self.block_biometric_consent, })
def to_json(self): parent = DocumentFilter.to_json(self) parent["inclusion"] = self.inclusion parent["documents"] = self.documents return remove_null_values(parent)
def to_json(self): return remove_null_values({ "country_codes": self.country_codes, "document_types": self.document_types, })
def to_json(self): return remove_null_values({"type": self.type})
def to_json(self): return remove_null_values({ "liveness_type": self.liveness_type, "max_retries": self.max_retries })
def to_json(self): return remove_null_values({ "auth_token": self.auth_token, "endpoint": self.endpoint, "topics": self.topics, })
def to_json(self): return remove_null_values({"manual_check": self.manual_check})
def to_json(self): return remove_null_values({"type": self.type, "config": self.config})
def to_json(self): parent = DocumentFilter.to_json(self) parent["country_restriction"] = self.country_restriction parent["type_restriction"] = self.type_restriction return remove_null_values(parent)
def to_json(self): return remove_null_values({ "inclusion": self.inclusion, "document_types": self.document_types })
def to_json(self): return remove_null_values({ "inclusion": self.inclusion, "country_codes": self.country_codes })
def to_json(self): return remove_null_values({ "type": self.type, "filter": self.__doc_filter })
def to_json(self): return remove_null_values( {"manual_check": self.manual_check, "chip_data": self.chip_data} )