public static function loadApiMetadata(ApiMetadataDriver $metadata)
    {
        $metadata->setGroupPrefix('contactsource')
            ->addListProperties(
                [
                    'id',
                    'name',
                    'category',
                ]
            )
            ->addProperties(
                [
                    'description',
                    'descriptionPublic',
                    'utmSource',
                    'token',
                    'documentation',
                    'publishUp',
                    'publishDown',
                    'campaignList',
                ]
            )
            ->setGroupPrefix('contactsourceBasic')
            ->addListProperties(
                [
                    'id',
                    'name',
                    'category',
                    'description',
                    'descriptionPublic',
                    'utmSource',
                    'campaignList',
                ]
            )
            ->build();
    }
public static function loadApiMetadata(ApiMetadataDriver $metadata)
    {
        $metadata->setGroupPrefix('contactsource')
            ->addListProperties(
                [
                    'id',
                    'name',
                    'category',
                ]
            )
            ->addProperties(
                [
                    'description',
                    'descriptionPublic',
                    'utmSource',
                    'token',
                    'documentation',
                    'publishUp',
                    'publishDown',
                    'campaignList',
                ]
            )
            ->setGroupPrefix('contactsourceBasic')
            ->addListProperties(
                [
                    'id',
                    'name',
                    'category',
                    'description',
                    'descriptionPublic',
                    'utmSource',
                    'campaignList',
                ]
            )
            ->build();
    }
public static function loadApiMetadata ( ApiMetadataDriver $ metadata ) { $ metadata -> setGroupPrefix ( 'contactsource' ) -> addListProperties ( [ 'id' , 'name' , 'category' , ] ) -> addProperties ( [ 'description' , 'descriptionPublic' , 'utmSource' , 'token' , 'documentation' , 'publishUp' , 'publishDown' , 'campaignList' , ] ) -> setGroupPrefix ( 'contactsourceBasic' ) -> addListProperties ( [ 'id' , 'name' , 'category' , 'description' , 'descriptionPublic' , 'utmSource' , 'campaignList' , ] ) -> build ( ) ; }
Prepares the metadata for API usage.

@param $metadata
Prepares the metadata for API usage .