public function createMoodboard(Moodboard $moodboard)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['moodboard' => $moodboard], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/moodboards', $parameters);
        $result = new MoodboardResponse($result);

        return $result;
    }
public function createMoodboard(Moodboard $moodboard)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['moodboard' => $moodboard], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->post('v1/moodboards', $parameters);
        $result = new MoodboardResponse($result);

        return $result;
    }
public function createMoodboard ( Moodboard $ moodboard ) { $ parameters = [ 'query' => [ ] , 'body' => json_encode ( [ 'moodboard' => $ moodboard ] , JSON_UNESCAPED_UNICODE ) , 'headers' => [ ] , ] ; $ result = $ this -> post ( 'v1/moodboards' , $ parameters ) ; $ result = new MoodboardResponse ( $ result ) ; return $ result ; }
Create a moodboard.

Create a Moodboard

@param  Moodboard         $moodboard A JSON encoded Moodboard to create
@return MoodboardResponse
Create a moodboard .