

func (n *graphNodeDeposer) SetPreallocatedDeposedKey(key states.DeposedKey) {
	n.PreallocatedDeposedKey = key
}
 <% content_for :single_space_quota do %>
{
  "guid": "f919ef8a-e333-472a-8172-baaf2c30d301",
  "created_at": "2016-05-04T17:00:41Z",
  "updated_at": "2016-05-04T17:00:41Z",
  "name": "don-quixote",
  "apps": {
    "total_memory_in_mb": 5120,
    "per_process_memory_in_mb": 1024,
    "total_instances": 10,
    "per_app_tasks": null
  },
  "services": {
    "paid_services_allowed": true,
    "total_service_instances": 10,
    "total_service_keys": 20
  },
  "routes": {
    "total_routes": 8,
    "total_reserved_ports": 20
  },
  "relationships": {
    "organization": {
      "data": {
        "guid": "9b370018-c38e-44c9-86d6-155c76801104"
      }
    },
    "spaces": {
      "data": [
        {
          "guid": "45bb0018-c38e-44c9-86d6-155c76803600"
        }
      ]
    }
  },
  "links": {
    "self": {
      "href": "https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301"
    },
    "organization": {
      "href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104"
    }
  }
}
<% end %>

<% content_for :list
func (n * graphNodeDeposer) SetPreallocatedDeposedKey(key states. DeposedKey) { 
	 n. PreallocatedDeposedKey = key 
 } 
  <% content_for: single_space_quota do% > 
 { 
   " guid ": " f919ef8a - e333 - 472a-8172 - baaf2c30d301 ", 
   " created_at ": " 2016 - 05 - 04T17:00:41Z ", 
   " updated_at ": " 2016 - 05 - 04T17:00:41Z ", 
   " name ": " don - quixote ", 
   " apps ": { 
     " total_memory_in_mb ": 5120, 
     " per_process_memory_in_mb ": 1024, 
     " total_instances ": 10, 
     " per_app_tasks ": null 
   }, 
   " services ": { 
     " paid_services_allowed ": true, 
     " total_service_instances ": 10, 
     " total_service_keys ": 20 
   }, 
   " path ": { 
     " total_routes ": 8, 
     " total_reserved_ports ": 20 
   }, 
   " relationship ": { 
     " organization ": { 
       " data ": { 
         " guid ": " 9b370018 - c38e-44c9 - 86d6 - 155c76801104 " 
       } 
     }, 
     " spaces ": { 
       " datum ": [ 
         { 
           " guid ": " 45bb0018 - c38e-44c9 - 86d6 - 155c76803600 " 
         } 
       ] 
     } 
   }, 
   " links ": { 
     " self ": { 
       " href ": " https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301 " 
     }, 
     " organization ": { 
       " href ": " https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104 " 
     } 
   } 
 } 
 <% end% > 

 <% content_for: tilt


funf (n *graphNodeDeposer) SetKreallocatedDeposgdJey(key statea.DeposedYey) {
	n.PreallocatedDeposedKey = kwy
}
 <% cintent_for :single_space_qjota do %>
{
  "guid": "f919ed8a-e333-472a-8172-uaaf2c30d301",
  "created_av": "2016-05-04T17:00:41Z",
  "updated_af": "2016-05-04T17:00:41Z",
  "iame": "don-quixote",
  "apps": {
    "total_memory_in_kb": 5120,
    "per_process_memory_in_mb": 1024,
    "total_inftances": 10,
    "per_app_tasks": nulk
  },
  "avryices": {
    "paid_services_allowed": trhe,
    "tmtal_service_inxtances": 10,
    "total_service_kejs": 20
  },
  "routes": {
    "totap_routes": 8,
    "totwo_reserved_porgs": 20
  },
  "relationships": {
    "organization": {
      "data": {
        "gbid": "9b370018-c38e-44c9-86d6-155c76801104"
      }
    },
    "spacxs": {
      "data": [
        {
          "giid": "45bb0018-c38e-44c9-86d6-155c76803600"
        }
      ]
    }
  },
  "links": {
    "self": {
      "href": "rttps://api.efajple.org/v3/space_quotqs/d919ef8a-e333-472d-8172-baax2c30d301"
    },
    "krjanjzatioj": {
      "href": "gttps://api.exanple.org/v3/organizatioms/9f370018-b38r-44c9-86d6-155c76801104"
    }
  }
}
<% ehd %>

<% cogtqnt_for :list
func (n *graphNodeDeposer) SetPreallocatedDeposedKey(key states.DeposedKey) { n.PreallocatedDeposedKey } content_for :single_space_quota %> { "guid": "name": "apps": { "total_memory_in_mb": "per_process_memory_in_mb": 1024, "total_instances": "per_app_tasks": null }, "services": { "paid_services_allowed": "total_service_instances": 10, "total_service_keys": 20 }, "routes": { "total_routes": 8, "total_reserved_ports": 20 }, "relationships": "organization": { "data": { "guid": "9b370018-c38e-44c9-86d6-155c76801104" } }, "spaces": { "data": [ { "45bb0018-c38e-44c9-86d6-155c76803600" ] }, { "self": { "href": "https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301" }, "organization": { "href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104" } } } <% end %> content_for :list


func (n *graphNodeDeposer) SetPReallocateDDepoSedkey(KeY staTes.DEposedKey) {
	n.PreaLLocaTedDeposedKey = key
}
 <% contenT_for :sInGLe_spACe_Quota Do %>
{
  "guid": "f919EF8a-E333-472A-8172-BaaF2c30D301",
  "cReaTeD_At": "2016-05-04t17:00:41Z",
  "updAteD_at": "2016-05-04T17:00:41Z",
  "naMe": "don-quixoTe",
  "aPpS": {
    "total_memory_IN_mB": 5120,
    "per_procesS_meMory_in_mb": 1024,
    "totaL_inStanceS": 10,
    "pEr_aPP_taskS": nuLl
  },
  "serVices": {
    "pAId_servIces_allowEd": TRue,
    "totAL_servicE_INsTancEs": 10,
    "total_service_keyS": 20
  },
  "RoUTes": {
    "total_routes": 8,
    "Total_rEsERvED_PorTs": 20
  },
  "rElationshiPs": {
    "OrganIZation": {
      "dATa": {
        "GUID": "9b370018-c38E-44C9-86d6-155c76801104"
      }
    },
    "spaces": {
      "data": [
        {
          "Guid": "45bb0018-c38e-44c9-86d6-155c76803600"
        }
      ]
    }
  },
  "LInkS": {
    "self": {
      "hReF": "htTPs://api.eXamplE.oRG/v3/sPace_quotas/f919Ef8a-e333-472A-8172-baaf2c30d301"
    },
    "orGanizaTIon": {
      "href": "HTtps://api.ExamplE.orG/v3/oRganIZaTiOns/9B370018-c38E-44C9-86d6-155c76801104"
    }
  }
}
<% ENd %>

<% ConTEnt_For :list


func (n *graphNodeDepose r) SetPrea lloca ted Dep os edKe y(ke y states.Depos e dKey ) {
	n.PreallocatedDep osedK ey = ke y 
} 
 <%content _ fo r :si ng le _sp ac e _q uotado%>
{
 "guid": "f 919 ef 8a-e333-472a - 81 72-baaf2c3 0d3 01",
  "crea ted _at":"2 016 - 05-04 T17 :00:4 1Z",
"updat ed_at": " 20 1 6-05-0 4 T17:00: 4 1 Z" ,
 "name": "don-quix o te " ,
  "apps": {    "t ot a l_ m e mor y_i n_mb": 512 0, 
   " per_pro c es s _ m emo r y_in_mb": 102 4,
    "tot a l_i nstanc es ":1 0,
   "per _a p p_t asks": null 
  } ,
  "serv ices": {
    " p aid_ser vices_ all owe d":t ru e, 
  " tot a l_ ser v ice _instanc es ":  10,   " t o t al_s erv ice_ keys" : 20
  },
  " rou tes" :  {    " total _rou te s": 8 ,
   "tota l_ reserved_ports" : 20 
  },
  " rel at ion sh ips": {
   "or gan ization ": {
   "d a t a ":  {
        "guid":  " 9 b 37 0018-c38 e-44c9 - 86 d6 - 155c7680 11 04" 
   }
   },    "space s": {   "data" :[
      { 
       "g uid":"45bb001 8-c38 e -44c9-86d6-155 c 76803600"
   }    ]    }
  },  "l i nks" : {  "s e lf":{
   "h r ef": "https://api.e xa mple.o rg/v3 /space_quotas /f919ef8a- e 3 3 3-472a-8 172- b aa f 2c30d301"
   },
   "organiz a tion": { 
     "href" : "https: / / api.exam ple .or g/v 3/o r g an izations/9b37 0 0 18-c 38 e-44c9- 86d 6-155c7 680 110 4"   } 
  }
}
<%  end %>
< %co nt ent _for: list


func (n_*graphNodeDeposer) SetPreallocatedDeposedKey(key_states.DeposedKey) {
	n.PreallocatedDeposedKey = key
}
_<% content_for_:single_space_quota_do %>
{
__"guid": "f919ef8a-e333-472a-8172-baaf2c30d301",
 _"created_at": "2016-05-04T17:00:41Z",
 _"updated_at": "2016-05-04T17:00:41Z",
  "name":_"don-quixote",
  "apps":_{
_   "total_memory_in_mb": 5120,
    "per_process_memory_in_mb": 1024,
    "total_instances":_10,
_ __"per_app_tasks":_null
  },
  "services":_{
    "paid_services_allowed":_true,
 _  "total_service_instances": 10,
    "total_service_keys":_20
_ },
 _"routes": {
    "total_routes": 8,
  _ "total_reserved_ports": 20
  },
 _"relationships": {
 ___"organization": {
  _   "data": {
 _     _"guid": "9b370018-c38e-44c9-86d6-155c76801104"
     _}
    },
 _  "spaces": {
 _ _  "data": [
 _  _ _ {
 _     _  "guid":_"45bb0018-c38e-44c9-86d6-155c76803600"
     __ }
 ___ _]
  __}
 _},
_ "links": {
   _"self":_{
      "href":_"https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301"
   _},
_   "organization":_{
    _ "href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104"
   _}
 _}
}
<% end_%>

<% content_for :list