def __init__(self, module):
    self.host = module.params["host"]
    self.user = module.params["user"]
    self.password = module.params["password"]
    self.state = module.params["state"]

    try: 
    	self.payload = json.loads(module.params.get("payload"))
    except __HOLE__:
    	self.payload = ''
    self.resource_id = module.params.get("resource_id")
    self.resource_key = module.params.get("resource_key")

    self.collection_path = module.params["collection_path"]
    self.hosturl = "https://%s" % self.host
    self.auth = (self.user, self.password)
dataset/ETHPy150Open F5Networks/aws-deployments/src/f5_aws/test/manual_bigip_config.py/BigipConfig.__init__