// ParseOrg decodes request body into Org struct
ParseOrg decodes request body into Org struct
// ParseOrg decodes request body into Org struct
func (o *Org) ParseOrg(r *http.Request) error {
	if r.Body == nil {
		return errors.New("No request body")
	}
	decoder := json.NewDecoder(r.Body)
	err := decoder.Decode(o)
	return err
}
func ( o * Org ) ParseOrg ( r * http . Request ) error { if r . Body == nil { return errors . New ( " " ) } decoder := json . NewDecoder ( r . Body ) err := decoder . Decode ( o ) return err }
ParseOrg decodes request body into Org struct
ParseOrg decodes request body into Org struct