def create(self, *args, **kwargs):
for attr in kwargs.keys():<EOL><INDENT>setattr(self, attr, kwargs[attr])<EOL><DEDENT>if not self.size_slug and self.size:<EOL><INDENT>self.size_slug = self.size<EOL><DEDENT>ssh_keys_id = Droplet.__get_ssh_keys_id_or_fingerprint(self.ssh_keys,<EOL>self.token,<EOL>self.name)<EOL>data = {<EOL>"<STR_LIT:name>": self.name,<EOL>"<STR_LIT:size>": self.size_slug,<EOL>"<STR_LIT:image>": self.image,<EOL>"<STR_LIT>": self.region,<EOL>"<STR_LIT>": ssh_keys_id,<EOL>"<STR_LIT>": bool(self.backups),<EOL>"<STR_LIT>": bool(self.ipv6),<EOL>"<STR_LIT>": bool(self.private_networking),<EOL>"<STR_LIT>": self.volumes,<EOL>"<STR_LIT>": self.tags,<EOL>"<STR_LIT>": bool(self.monitoring),<EOL>}<EOL>if self.user_data:<EOL><INDENT>data["<STR_LIT>"] = self.user_data<EOL><DEDENT>data = self.get_data("<STR_LIT>", type=POST, params=data)<EOL>if data:<EOL><INDENT>self.id = data['<STR_LIT>']['<STR_LIT:id>']<EOL>action_id = data['<STR_LIT>']['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT:id>']<EOL>self.action_ids = []<EOL>self.action_ids.append(action_id)<EOL><DEDENT>
Create the droplet with object properties.

Note: Every argument and parameter given to this method will be
assigned to the object.