You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database name to create (alphanumeric characters).
database_user
str
Database username to create alongside the database (alphanumeric characters).
password
str
Password for the database user (requires mixed case, letters, and numbers).
Example
fromhostinger_api.models.agency_hosting_v1_websites_databases_create_database_requestimportAgencyHostingV1WebsitesDatabasesCreateDatabaseRequest# TODO update the JSON string belowjson="{}"# create an instance of AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest from a JSON stringagency_hosting_v1_websites_databases_create_database_request_instance=AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.from_json(json)
# print the JSON string representation of the objectprint(AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.to_json())
# convert the object into a dictagency_hosting_v1_websites_databases_create_database_request_dict=agency_hosting_v1_websites_databases_create_database_request_instance.to_dict()
# create an instance of AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest from a dictagency_hosting_v1_websites_databases_create_database_request_from_dict=AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.from_dict(agency_hosting_v1_websites_databases_create_database_request_dict)