public function reverseMap($data): RoleUpdateStruct
    {
        if (!$data instanceof RoleUpdateData) {
            throw new InvalidArgumentException('data', 'must be an instance of ' . RoleUpdateData::class);
        }

        return new RoleUpdateStruct([
            'identifier' => $data->getIdentifier(),
        ]);
    }
public function reverseMap($data): RoleUpdateStruct
    {
        if (!$data instanceof RoleUpdateData) {
            throw new InvalidArgumentException('data', 'must be an instance of ' . RoleUpdateData::class);
        }

        return new RoleUpdateStruct([
            'identifier' => $data->getIdentifier(),
        ]);
    }
public function reverseMap ( $ data ) : RoleUpdateStruct { if ( ! $ data instanceof RoleUpdateData ) { throw new InvalidArgumentException ( 'data' , 'must be an instance of ' . RoleUpdateData :: class ) ; } return new RoleUpdateStruct ( [ 'identifier' => $ data -> getIdentifier ( ) , ] ) ; }
Maps given RoleUpdateData object to a RoleUpdateStruct object.

@param RoleUpdateData $data

@return RoleUpdateStruct

@throws InvalidArgumentException
Maps given RoleUpdateData object to a RoleUpdateStruct object .